Files
archived-pcsx2/pcsx2/PathDefs.h
avihal 8b2aa64d7e UI: Keyboard shortcuts overrides via PCSX2_keys.ini
Keys combination can be:
"alt-" and/or "ctrl-" and/or "shift-" and ( F1-F12 or KP_0-KP_9 or SPECIAL1-SPECIAL20 )

Where:
Fn is function key n
KP_n is numpad number n
SPECIALn is hardware button n (whatever that means...)

Examples:
FullscreenToggle=alt-ctrl-f12
GSwindow_CycleAspectRatio=KP_0

See full configurable strings at the first comment.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4917 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-11 22:13:02 +00:00

89 lines
2.8 KiB
C++

/* PCSX2 - PS2 Emulator for PCs
* Copyright (C) 2002-2009 PCSX2 Dev Team
*
* PCSX2 is free software: you can redistribute it and/or modify it under the terms
* of the GNU Lesser General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with PCSX2.
* If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
enum FoldersEnum_t
{
// FIXME : Plugins, Settings, and Themes folders are no longer part of the user-local
// ini storage. They have been moved to an app-local ini storage class (which is currently
// handled lazily via global variables)
FolderId_Plugins = 0,
FolderId_Settings,
FolderId_Themes,
FolderId_Bios,
FolderId_Snapshots,
FolderId_Savestates,
FolderId_MemoryCards,
FolderId_Logs,
FolderId_Langs,
FolderId_Documents,
FolderId_COUNT
};
// --------------------------------------------------------------------------------------
// PathDefs (namespace)
// --------------------------------------------------------------------------------------
// Contains default values for various pcsx2 path names and locations.
//
// Note: The members of this namespace are intended for default value initialization only.
// Everything else should use the path folder assignments in g_Conf instead, since those
// are user-configurable.
//
namespace PathDefs
{
// complete pathnames are returned by these functions (may or may not be absolute)
extern wxDirName GetSnapshots();
extern wxDirName GetBios();
extern wxDirName GetThemes();
extern wxDirName GetPlugins();
extern wxDirName GetSavestates();
extern wxDirName GetMemoryCards();
extern wxDirName GetSettings();
extern wxDirName GetLogs();
extern wxDirName GetLangs();
extern wxDirName Get( FoldersEnum_t folderidx );
// Base folder names used to extend out the documents/approot folder base into a complete
// path. These are typically for internal AppConfig use only, barring a few special cases.
namespace Base
{
extern const wxDirName& Snapshots();
extern const wxDirName& Savestates();
extern const wxDirName& MemoryCards();
extern const wxDirName& Settings();
extern const wxDirName& Plugins();
extern const wxDirName& Themes();
extern const wxDirName& Logs();
extern const wxDirName& Dumps();
extern const wxDirName& Langs();
}
}
namespace FilenameDefs
{
extern wxFileName GetUiConfig();
extern wxFileName GetUiKeysConfig();
extern wxFileName GetVmConfig();
extern wxFileName GetUsermodeConfig();
extern const wxFileName& Memcard( uint port, uint slot );
};