Hotkeys: Difference between revisions

From PCSX2 Wiki
Jump to navigation Jump to search
(→‎Editing Keyboard shortcuts: According to avih in the the second-to-last comment of https://code.google.com/p/pcsx2/source/detail?r=4917, the normal keys also work.)
Line 165: Line 165:
*WINDOWS_MENU
*WINDOWS_MENU
*COMMAND
*COMMAND
*F0-F12
*F0 - F12
*KP_0-KP_9
*KP_0 - KP_9
*SPECIAL1-SPECIAL20
*SPECIAL1 - SPECIAL20


Note that ''KP_x'' are the number keys in the keypad/numpad. The normal letter and number keys also work, even though they may not display correctly at the log console message.
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:

Revision as of 03:41, 13 April 2015

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

  • 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 (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.
  • 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 when they are rendered in non-native resolutions or when the hardware render has bugs like with "Tales of Legendia". Some 2D objects can also suffer from incorrect rendering in non-native resolution modes. You can switch to software render mid-game to finish the critical game section and then switch back to hardware afterwards.
  • F10 - Toggles the logging
  • F11 - Freezes the GS (deprecated function; used only by STGS. PCSX2 uses MTGS exclusively now)
  • F12 - Starts a video capture of the GS window. Note that some versions may have a bug (?) preventing video capture from happening. If your version supports this you'll see the dialog "Capture settings" after pressing F12. You must choose the filename, codec and resolution before you may continue. 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 your audio plugin (SPU-X) which will record the audio simultaneously with your GS plugin.
    • To finish the capture simply press F12 again.
    • Note that if you simply wish to capture audio (e.g. you like a particular level's music) and you don't want to mess with the plugin or emulator - or you simply prefer a more general solution - you can use Audacity to record while the emulator is running - simply configure it to accept audio input from "stereo mix". By the way, if you are running Windows and do not see "stereo mix" in the list of available sources please google for several available solutions (it is a known issue with certain soundcard/motherboard models). Or you could try this instead.
  • 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):

  • 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:

  • 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

  • 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 software mipmapping
  • Home - Toggles on and off external shaders.
  • Page Up - Toggles FXAA mode.
  • Delete - Toggles software anti-aliasing (AA1)

ZeroGS-specific combinations

  • F6 - Cycles through anti-aliasing modes (overrides PCSX2's default function of F6 to toggle the aspect ratio)
  • Shift + F7 - Toggles the onscreen FPS indicator


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