Hotkeys: Difference between revisions

From PCSX2 Wiki
Jump to navigation Jump to search
(Thanks for cleaning this up! I removed the bit about choosing filename/codec/etc. because that was related to the previous sentence.)
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{stub}}
This article lists the keyboard shortcuts available to PCSX2 and provides information on how to change them.
This article lists the keyboard shortcuts available to PCSX2 and provides information on how to change them.


=Introduction=
=Introduction=
Keyboard shortcuts (or ''hotkeys'') allow for quick access to some emulator features. For example, shortcuts can be used to save/load states, remove FPS limit or test different interlacing modes. Some of these hotkeys, although not GSdx-specific, will not work with other GS plugins.
Keyboard shortcuts (or ''hotkeys'') allow for quick access to some emulator features. For example, shortcuts can be used to save/load states, remove FPS limit or test different interlacing modes.
 
'''Note''': Some of these hotkeys (such as F6 and F9), although not GSdx-specific, will not work with other GS plugins.


=Hotkey list=
=Hotkey list=
* '''F1''' - Saves [[Savestates|savestate]] in the current slot.
{|class="wikitable" style="background: #fdfdfd; vertical-align: top; border-collapse: collapse; width=100%"
* '''F2''' - Changes current savestate slot (Press '''Shift + F2''' to cycle through slots backwards).
|-style="background: #f2f2f2"
* '''F3''' - Loads [[Savestates|savestate]] from the current slot ('''Shift + F3''' loads from backup slot. Backup savestate will contain the last overwritten savestate so you have a last chance to restore your game when you accidentally overwrite it or the written state appears to be corrupted).
|style="width: 150px"|'''Hotkey'''
* '''F4''' - Toggles [[Setting up Windows version#GS|frame limiter]] mode.
|'''Action'''
* '''Shift + F4''' - Toggles [[Setting up Windows version#GS|frame skipping]] mode.
|- style="vertical-align: top"
* '''F6''' - Cycles through [[Setting up Windows version#GS Window|aspect ratio]] modes (''stretch'', ''4:3'' and ''16:9'').
|'''F1'''
* '''F8''' (also '''Shift + F8''' and '''Ctrl + Shift + F8''') - Takes screenshot in the current rendering resolution (not the actual resized resolution of the GS window). Screenshot are saved in ''snaps'' folder.
|Saves [[Savestates|savestate]] in the current slot.
* '''F9''' - Toggles hardware/software renderer.
|- style="vertical-align: top"
* '''F10''' - Toggles the logging
|'''F2'''
* '''F11''' - Freezes the GS (deprecated function; used only by STGS. PCSX2 only uses MTGS now)
| Changes current savestate slot (Press '''Shift + F2''' to cycle through slots backwards).
* '''F12''' - Starts a video capture of the GS window.
|- style="vertical-align: top"
* '''Tab''' - Toggles [[Setting up Windows version#GS|turbo]] mode.
|'''F3'''
* '''Shift + Tab''' - Toggles [[Setting up Windows version#GS|slow motion]] mode.
|Loads [[Savestates|savestate]] from the current slot ('''Shift + F3''' loads from backup slot. Backup savestate will contain the last overwritten savestate so you have a last chance to restore your game when you accidentally overwrite it or the written state appears to be corrupted).
* '''Alt + Enter''' - Toggles fullscreen mode.
|- style="vertical-align: top"
* '''ESC''' - Pauses the emulation
|'''F4'''
* '''Ctrl + numpad +''' - Zooms into the GS window
|Toggles [[Setting up Windows version#GS|frame limiter]] mode.
* '''Ctrl + numpad -''' - Zoom out of the GS window
|- style="vertical-align: top"
* '''Ctrl + numpad *''' - Resets the zoom on the GS window
|'''Shift + F4'''
|Toggles [[Setting up Windows version#GS|frame skipping]] mode.
|- style="vertical-align: top"
|'''F6'''
|Cycles through [[Setting up Windows version#GS Window|aspect ratio]] modes (''stretch'', ''4:3'' and ''16:9'').
|- style="vertical-align: top"
|'''F8'''  
 
'''Shift + F8'''
 
'''Ctrl + Shift + F8'''
|Takes screenshot in the current rendering resolution (not the actual resized resolution of the GS window). Screenshot are saved in ''snaps'' folder.
|- style="vertical-align: top"
|'''F9'''
|Toggles hardware/software renderer. Switching from hardware rendering to software rendering (which is always in native resolution) can be done to avoid some severe graphics glitches occurring in some games in video or special sequences; or when the hardware render has bugs.
|- style="vertical-align: top"
|'''F10'''
|Toggles the logging.
|- style="vertical-align: top"
|'''F12'''
|Starts/stops video capture of the GS window. Note that lossless or uncompressed video may produce a VERY large file so your HDD must have enough free space to contain it. An audio capture file "recording.wav" may also be created along with the video. This is done by SPU2-X; which will record the audio simultaneously with your GS plugin.<br>
 
*If you simply wish to capture audio - you can use [http://audacity.sourceforge.net/ Audacity] to record while the emulator is running - simply configure it to accept audio input from "stereo mix".
|- style="vertical-align: top"
|'''Tab'''
|Toggles [[Setting up Windows version#GS|turbo]] mode.
|- style="vertical-align: top"
|'''Shift + Tab'''
|Toggles [[Setting up Windows version#GS|slow motion]] mode.
|- style="vertical-align: top"
|'''Alt + Enter'''
|Toggles fullscreen mode.
|- style="vertical-align: top"
|'''ESC'''
|Pauses the emulation.
|- style="vertical-align: top"
|'''Ctrl + numpad +'''
|Zooms into the GS window.
|- style="vertical-align: top"
|'''Ctrl + numpad -'''
|Zoom out of the GS window.
|- style="vertical-align: top"
|'''Ctrl + numpad *'''
|Resets the zoom on the GS window
|}


These shortcuts change the vertical zoom of the image (stretching it):
These shortcuts change the vertical zoom of the image (stretching it):
* '''Ctrl + Alt numpad +''' - Stretches the image vertically
{|class="wikitable" style="background: #fdfdfd; vertical-align: top; border-collapse: collapse; width: 100%"
* '''Ctrl + Alt numpad -''' - Squishes the image vertically
|-style="background: #f2f2f2"
* '''Ctrl + Alt numpad *''' - Resets the vertical image resolution
|style="width: 150px"|'''Hotkey'''
|'''Action'''
|- style="vertical-align: top"
|'''Ctrl + Alt numpad +'''
|Stretches the image vertically.
|- style="vertical-align: top"
|'''Ctrl + Alt numpad -'''
|Squishes the image vertically.
|- style="vertical-align: top"
|'''Ctrl + Alt numpad *'''
|Resets the vertical image resolution.
|}


These shortcuts move the whole image inside the GS window:
These shortcuts move the whole image inside the GS window:
* '''Ctrl + Alt + Up''' - Moves the image up
{|class="wikitable" style="background: #fdfdfd; vertical-align: top; border-collapse: collapse; width: 100%"
* '''Ctrl + Alt + Down''' - Moves the image down
|-style="background: #f2f2f2"
* '''Ctrl + Alt + Left''' - Moves the image left
|style="width: 150px"|'''Hotkeys'''
* '''Ctrl + Alt + Right''' - Moves the image right
|'''Action'''
* '''Ctrl + Alt + numpad /''' - Re-centers the image
|- style="vertical-align: top"
 
|'''Ctrl + Alt + Up'''
|Moves the image up.
|- style="vertical-align: top"
|'''Ctrl + Alt + Down'''
|Moves the image down.
|- style="vertical-align: top"
|'''Ctrl + Alt + Left'''
|Moves the image left.
|- style="vertical-align: top"
|'''Ctrl + Alt + Right'''  
|Moves the image right.
|- style="vertical-align: top"
|'''Ctrl + Alt + numpad /'''
|Re-centers the image.
|}


==[[GSdx]]-specific combinations==
==[[GSdx]]-specific combinations==
* '''F5''' - Cycles through GS plugin's [[Setting up Windows version#GSdx|de-interlacing]] modes.
{|class="wikitable" style="background: #fdfdfd; vertical-align: top; border-collapse: collapse; width: 100%"
* '''F7''' - Cycles through [[GSdx#List of ingame keys|"pixel geometry"]] modes activating different shaders (there are 4 different shaders and the default mode)
|-style="background: #f2f2f2"
* '''Insert''' - Toggles software mipmapping
|'''Hotkey'''
* '''Home''' - Toggles on and off [[external shaders]].
|'''Action'''
* '''Page Up''' - Toggles FXAA mode.
|- style="vertical-align: top"
* '''Delete''' - Toggles software anti-aliasing (AA1)
|style="width: 150px"|'''F5'''
 
|Cycles through GS plugin's [[Setting up Windows version#GSdx|de-interlacing]] modes.
==[[ZeroGS]]-specific combinations==
|- style="vertical-align: top"
* '''F6''' - Cycles through anti-aliasing modes
|'''F7'''
* '''Shift + F7''' - Toggles the onscreen FPS indicator
|Cycles through [[GSdx#List of ingame keys|"pixel geometry"]] modes activating different shaders (there are 4 different shaders and the default mode).
 
|- style="vertical-align: top"
|'''Insert'''
|Toggles mipmapping (''Full'', ''Half'', ''Off'')
|- style="vertical-align: top"
|'''Home'''
|Toggles [[external shaders]].
|- style="vertical-align: top"
|'''Page Up'''
|Toggles FXAA mode.
|- style="vertical-align: top"
|'''Delete'''
|Toggles software anti-aliasing (AA1).
|}
<br />
<br />


=Editing Keyboard shortcuts=
=Editing Keyboard shortcuts=
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> which should be placed in PCSX2 '''inis''' folder.
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)] or [http://web.archive.org/web/20141023234634/http://code.google.com/p/pcsx2/source/detail?r=4917 alternatively]</ref> which should be placed in PCSX2 '''inis''' folder. PCSX2 comes with a pre-configured '''PCSX2_keys.ini.default''' file. In order to use it, just remove the .default file extension and place it into the '''inis''' folder. Then you are free to customize any of the keys you would like.


This file must contain entries of the following format: '''Function name'''='''Keys combination'''
This file must contain entries of the following format: '''Function name'''='''Keys combination'''
Line 95: Line 176:
A ''keys combination'' may begin with special keys '''alt-''', '''ctrl-''' or '''shift-''' that can be stacked together and is followed by the actual key name.
A ''keys combination'' may 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.
The list of supported special 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
*F0 - F12
*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.
Note that ''KP_x'' are the number keys in the keypad/numpad. The normal letter and number keys also work, even though some of them (e.g. ']') may not display correctly at the log console message.


Some examples:
Some examples:
* FullscreenToggle=alt-ctrl-F12
* FullscreenToggle = Alt-Ctrl-F12
* GSwindow_CycleAspectRatio=KP_0
* GSwindow_CycleAspectRatio = KP_0


=References=
=References=

Revision as of 06:05, 17 September 2017

This article lists the keyboard shortcuts available to PCSX2 and provides information on how to change them.

Introduction

Keyboard shortcuts (or hotkeys) allow for quick access to some emulator features. For example, shortcuts can be used to save/load states, remove FPS limit or test different interlacing modes.

Note: Some of these hotkeys (such as F6 and F9), although not GSdx-specific, will not work with other GS plugins.

Hotkey list

Hotkey Action
F1 Saves savestate in the current slot.
F2 Changes current savestate slot (Press Shift + F2 to cycle through slots backwards).
F3 Loads savestate from the current slot (Shift + F3 loads from backup slot. Backup savestate will contain the last overwritten savestate so you have a last chance to restore your game when you accidentally overwrite it or the written state appears to be corrupted).
F4 Toggles frame limiter mode.
Shift + F4 Toggles frame skipping mode.
F6 Cycles through aspect ratio modes (stretch, 4:3 and 16:9).
F8

Shift + F8

Ctrl + Shift + F8

Takes screenshot in the current rendering resolution (not the actual resized resolution of the GS window). Screenshot are saved in snaps folder.
F9 Toggles hardware/software renderer. Switching from hardware rendering to software rendering (which is always in native resolution) can be done to avoid some severe graphics glitches occurring in some games in video or special sequences; or when the hardware render has bugs.
F10 Toggles the logging.
F12 Starts/stops video capture of the GS window. Note that lossless or uncompressed video may produce a VERY large file so your HDD must have enough free space to contain it. An audio capture file "recording.wav" may also be created along with the video. This is done by SPU2-X; which will record the audio simultaneously with your GS plugin.
  • If you simply wish to capture audio - you can use Audacity to record while the emulator is running - simply configure it to accept audio input from "stereo mix".
Tab Toggles turbo mode.
Shift + Tab Toggles slow motion mode.
Alt + Enter Toggles fullscreen mode.
ESC Pauses the emulation.
Ctrl + numpad + Zooms into the GS window.
Ctrl + numpad - Zoom out of the GS window.
Ctrl + numpad * Resets the zoom on the GS window

These shortcuts change the vertical zoom of the image (stretching it):

Hotkey Action
Ctrl + Alt numpad + Stretches the image vertically.
Ctrl + Alt numpad - Squishes the image vertically.
Ctrl + Alt numpad * Resets the vertical image resolution.

These shortcuts move the whole image inside the GS window:

Hotkeys Action
Ctrl + Alt + Up Moves the image up.
Ctrl + Alt + Down Moves the image down.
Ctrl + Alt + Left Moves the image left.
Ctrl + Alt + Right Moves the image right.
Ctrl + Alt + numpad / Re-centers the image.

GSdx-specific combinations

Hotkey Action
F5 Cycles through GS plugin's de-interlacing modes.
F7 Cycles through "pixel geometry" modes activating different shaders (there are 4 different shaders and the default mode).
Insert Toggles mipmapping (Full, Half, Off)
Home Toggles external shaders.
Page Up Toggles FXAA mode.
Delete Toggles software anti-aliasing (AA1).


Editing Keyboard shortcuts

PCSX2 supports overriding the default hotkeys by using a custom ini file PCSX2_keys.ini[1] which should be placed in PCSX2 inis folder. PCSX2 comes with a pre-configured PCSX2_keys.ini.default file. In order to use it, just remove the .default file extension and place it into the inis folder. Then you are free to customize any of the keys you would like.

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 may 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 special 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
  • F0 - F12
  • KP_0 - KP_9
  • SPECIAL1 - SPECIAL20

Note that KP_x are the number keys in the keypad/numpad. The normal letter and number keys also work, even though some of them (e.g. ']') may not display correctly at the log console message.

Some examples:

  • FullscreenToggle = Alt-Ctrl-F12
  • GSwindow_CycleAspectRatio = KP_0

References