2015-08-04 21:52:48 +00:00
|
|
|
# IMPORTANT: PCSX2 only looks for PCSX2_keys.ini at the inis folder.
|
|
|
|
# You should first copy PCSX2_keys.ini.default to the inis folder, then
|
|
|
|
# rename it to PCSX2_keys.ini, and then edit it.
|
|
|
|
|
2020-12-17 23:48:33 +00:00
|
|
|
# Important: PAD bindings will override shortcuts at this file.
|
2015-08-04 21:52:48 +00:00
|
|
|
|
2021-07-06 17:09:52 +00:00
|
|
|
# IMPORTANT: GS has fixed shortcuts. Make sure your shortcuts don't conflict.
|
|
|
|
# Also, they will affect GS also when alt/ctrl/shift are pressed, so it's
|
|
|
|
# best to completely avoid them at this file. GS uses:
|
2020-06-19 00:10:06 +00:00
|
|
|
# F5 - Deinterlace modes
|
|
|
|
# PAGE_UP - FXAA antialiasing (HW and SW)
|
|
|
|
# PAGE_DOWN - Cycles through dither modes (HW)
|
|
|
|
# DELETE - Software Antialiasing (AA1)
|
|
|
|
# HOME - FX shader
|
|
|
|
# INSERT - Hardware mipmapping
|
2015-08-04 21:52:48 +00:00
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
# The KB shortcuts can be a normal key (e.g. f or ] etc) or a combination of
|
gui: kb shortcuts: fix key codes for "non-special" keys
This patch fixes 3 different issues for wx event key codes and the ini parser.
- The ini parser (for PCSX2_keys.ini) parses symbols and letters correctly,
but parsed `shift-q` as `Q` without shift. Now it's parsed as `q` with shift.
- the wx event keycode has the shift flag set correctly, but always has the
upper case code for letters (e.g. `Q` when `q` was pressed, and `Q` with shift
flag when shift-q is pressed). Now uses lower case for letters.
- For symbol-only keys (e.g. `-` or `=`), the keycode is the MS VK_.. thingy,
e.g. for `=` it passed 187 instead of 61, or for `.` it had 190 instead of 46.
Now returns the ascii code where possible (assuming US KB layout).
Also, when the DevCon is enabled, all key presses are printed to the console in
a format which could be copied to pcsx2_keys.ini, so this should allow also
non-US KBs to be set up for arbitrary symbols.
It should now be possible to use letters and symbols at PCSX2_keys.ini or as
default accelerators definitions within the code.
Note: this should have supposedly been fixed at r4918 ( 851bfba ), but neither
that build from the buildbot archive, nor the official 1.2.1 release (r5875),
nor the current builds have this working, which is really weird (tested on win8)
2015-10-10 22:35:21 +00:00
|
|
|
# ALT/SHIFT/CTRL and a key, separated with a - or + (e.g. m or alt+ctrl+m or
|
|
|
|
# alt-F12). Number (key) pad names start with KP_ (e.g. KP_0 to KP_9, KP_ADD).
|
|
|
|
|
|
|
|
# Note: If the Dev console source is enabled, keypresses (including with Alt
|
|
|
|
# etc) will be printed to the console and could be copied to PCSX2_keys.ini .
|
2015-08-04 21:52:48 +00:00
|
|
|
|
|
|
|
# List of special key names (beyond KP_0 to KP_9 and normal keys):
|
|
|
|
# DEL DELETE BACK INS INSERT ENTER RETURN PGUP PGDN LEFT RIGHT UP DOWN HOME END
|
|
|
|
# SPACE TAB ESC ESCAPE CANCEL CLEAR MENU PAUSE CAPITAL SELECT PRINT EXECUTE
|
|
|
|
# SNAPSHOT HELP ADD SEPARATOR SUBTRACT DECIMAL DIVIDE NUM_LOCK SCROLL_LOCK
|
|
|
|
# PAGEUP PAGEDOWN KP_SPACE KP_TAB KP_ENTER KP_HOME KP_LEFT KP_UP KP_RIGHT
|
|
|
|
# KP_DOWN KP_PRIOR KP_PAGEUP KP_NEXT KP_PAGEDOWN KP_END KP_BEGIN KP_INSERT
|
|
|
|
# KP_DELETE KP_EQUAL KP_MULTIPLY KP_ADD KP_SEPARATOR KP_SUBTRACT KP_DECIMAL
|
|
|
|
# KP_DIVIDE WINDOWS_LEFT WINDOWS_RIGHT WINDOWS_MENU COMMAND
|
|
|
|
|
|
|
|
# save state: freeze is save state, defrost is load state.
|
|
|
|
States_FreezeCurrentSlot = F1
|
|
|
|
States_DefrostCurrentSlot = F3
|
|
|
|
States_DefrostCurrentSlotBackup = Shift-F3
|
|
|
|
States_CycleSlotForward = F2
|
|
|
|
States_CycleSlotBackward = Shift-F2
|
|
|
|
|
|
|
|
Frameskip_Toggle = Shift-F4
|
|
|
|
Framelimiter_TurboToggle = TAB
|
|
|
|
Framelimiter_SlomoToggle = Shift-TAB
|
|
|
|
Framelimiter_MasterToggle = F4
|
|
|
|
|
|
|
|
FullscreenToggle = Alt-ENTER
|
|
|
|
|
2016-01-03 19:13:20 +00:00
|
|
|
# Note: toggles suspend, but can resume only if the GS window is not set to hide
|
|
|
|
# when paused (Emu options -> GS window), and when the GS window is focused.
|
|
|
|
Sys_SuspendResume = ESC
|
2015-08-04 21:52:48 +00:00
|
|
|
|
2015-10-12 01:04:14 +00:00
|
|
|
# Screenshot. Note: must not include shift or ctrl. With these held - it will
|
|
|
|
# create debug GS dump. The two other shortcuts will be added automatically.
|
|
|
|
Sys_TakeSnapshot = F8
|
2015-08-04 21:52:48 +00:00
|
|
|
|
|
|
|
# Hardware/software rendering toggle
|
|
|
|
Sys_RenderswitchToggle = F9
|
|
|
|
|
|
|
|
Sys_LoggingToggle = F10
|
|
|
|
Sys_RecordingToggle = F12
|
|
|
|
|
|
|
|
GSwindow_CycleAspectRatio = F6
|
|
|
|
|
|
|
|
# Whole picture zoom in/out
|
|
|
|
GSwindow_ZoomIn = Ctrl-KP_ADD
|
|
|
|
GSwindow_ZoomOut = Ctrl-KP_SUBTRACT
|
|
|
|
GSwindow_ZoomToggle = Ctrl-KP_MULTIPLY
|
|
|
|
|
|
|
|
# Vertical stretch/squash
|
|
|
|
GSwindow_ZoomInY = Alt-Ctrl-KP_ADD
|
|
|
|
GSwindow_ZoomOutY = Alt-Ctrl-KP_SUBTRACT
|
|
|
|
GSwindow_ZoomResetY = Alt-Ctrl-KP_MULTIPLY
|
|
|
|
|
|
|
|
# Move the whole image
|
|
|
|
GSwindow_OffsetYminus = Alt-Ctrl-UP
|
|
|
|
GSwindow_OffsetYplus = Alt-Ctrl-DOWN
|
|
|
|
GSwindow_OffsetXminus = Alt-Ctrl-LEFT
|
|
|
|
GSwindow_OffsetXplus = Alt-Ctrl-RIGHT
|
|
|
|
GSwindow_OffsetReset = Alt-Ctrl-KP_DIVIDE
|
2018-07-03 00:36:56 +00:00
|
|
|
|
|
|
|
# Recording Bindings
|
2019-03-06 02:13:48 +00:00
|
|
|
# Note - These are disabled if 'System > Enable Recording Tools' is disabled
|
2018-07-03 00:36:56 +00:00
|
|
|
FrameAdvance = SPACE
|
|
|
|
TogglePause = Shift-P
|
|
|
|
InputRecordingModeToggle = Shift-R
|
|
|
|
|
2021-02-23 05:04:46 +00:00
|
|
|
# Note - This is disabled if no input recording is active
|
|
|
|
GoToFirstFrame = Shift-L
|
|
|
|
|
2018-07-03 00:36:56 +00:00
|
|
|
# Save State Management
|
2019-03-06 02:13:48 +00:00
|
|
|
# Note - These are disabled if 'System > Enable Recording Tools' is disabled
|
|
|
|
States_SaveSlot0 = Shift-KP_0
|
|
|
|
States_SaveSlot1 = Shift-KP_1
|
|
|
|
States_SaveSlot2 = Shift-KP_2
|
|
|
|
States_SaveSlot3 = Shift-KP_3
|
|
|
|
States_SaveSlot4 = Shift-KP_4
|
|
|
|
States_SaveSlot5 = Shift-KP_5
|
|
|
|
States_SaveSlot6 = Shift-KP_6
|
|
|
|
States_SaveSlot7 = Shift-KP_7
|
|
|
|
States_SaveSlot8 = Shift-KP_8
|
|
|
|
States_SaveSlot9 = Shift-KP_9
|
|
|
|
States_LoadSlot0 = KP_0
|
|
|
|
States_LoadSlot1 = KP_1
|
|
|
|
States_LoadSlot2 = KP_2
|
|
|
|
States_LoadSlot3 = KP_3
|
|
|
|
States_LoadSlot4 = KP_4
|
|
|
|
States_LoadSlot5 = KP_5
|
|
|
|
States_LoadSlot6 = KP_6
|
|
|
|
States_LoadSlot7 = KP_7
|
|
|
|
States_LoadSlot8 = KP_8
|
|
|
|
States_LoadSlot9 = KP_9
|