Hotkeys: Difference between revisions

1,830 bytes added ,  14 February 2015
Line 25: Line 25:
PCSX2 supports overriding the default hotkeys by using a custom ini file ('''PCSX2_keys.ini''').<ref>From the [https://code.google.com/p/pcsx2/source/detail?r=4917 r4917 source change log (Sep 11, 2011)]</ref>
PCSX2 supports overriding the default hotkeys by using a custom ini file ('''PCSX2_keys.ini''').<ref>From the [https://code.google.com/p/pcsx2/source/detail?r=4917 r4917 source change log (Sep 11, 2011)]</ref>


This file must contain entries of the following format:
'''Function name'''='''Keys combination'''
The following ''function names'' are supported:
*States_FreezeCurrentSlot
*States_DefrostCurrentSlot
*States_DefrostCurrentSlotBackup
*States_CycleSlotForward
*States_CycleSlotBackward
-----
*Frameskip_Toggle
*Framelimiter_TurboToggle
*Framelimiter_SlomoToggle
*Framelimiter_MasterToggle
-----
*FullscreenToggle
-----
*Sys_Suspend
*Sys_TakeSnapshot
*Sys_RenderswitchToggle
*Sys_LoggingToggle
*Sys_FreezeGS
*Sys_RecordingToggle
-----
*GSwindow_CycleAspectRatio
*GSwindow_ZoomIn
*GSwindow_ZoomOut
*GSwindow_ZoomToggle
*GSwindow_ZoomInY
*GSwindow_ZoomOutY
*GSwindow_ZoomResetY
*GSwindow_OffsetYminus
*GSwindow_OffsetYplus
*GSwindow_OffsetXminus
*GSwindow_OffsetXplus
*GSwindow_OffsetReset
A ''keys combination'' can begin with special keys '''alt-''', '''ctrl-''' or '''shift-''' that can be stacked together and is followed by the actual key name.
The list of supported key names are as follows: 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, F??, KP_0..KP_9, SPECIAL1-SPECIAL20.
Note that ''KP_'' are numpad keys. ''F??'' are the function keys. The normal letter or number keys may not work according to the developer's post.
Some examples:
* FullscreenToggle=alt-ctrl-F12
* GSwindow_CycleAspectRatio=KP_0


=References=
=References=
67,565

edits