mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-28 14:02:38 +00:00
Add debugging hotkeys
They are separated into 3 groups and will only be shown in the input config dialog if the emulator was in debug mode.
This commit is contained in:
parent
00e03f1436
commit
cc7c410cf1
6 changed files with 123 additions and 4 deletions
|
@ -38,6 +38,18 @@ const std::string hotkey_labels[] = {
|
|||
_trans("Export Recording"),
|
||||
_trans("Read-only mode"),
|
||||
|
||||
_trans("Step Into"),
|
||||
_trans("Step Over"),
|
||||
_trans("Step Out"),
|
||||
_trans("Skip"),
|
||||
|
||||
_trans("Show PC"),
|
||||
_trans("Set PC"),
|
||||
|
||||
_trans("Toggle Breakpoint"),
|
||||
_trans("Add a Breakpoint"),
|
||||
_trans("Add a Memory Breakpoint"),
|
||||
|
||||
_trans("Press Sync Button"),
|
||||
_trans("Connect Wii Remote 1"),
|
||||
_trans("Connect Wii Remote 2"),
|
||||
|
@ -223,6 +235,9 @@ const std::array<HotkeyGroupInfo, NUM_HOTKEY_GROUPS> groups_info = {
|
|||
{_trans("Emulation speed"), HK_DECREASE_EMULATION_SPEED, HK_TOGGLE_THROTTLE},
|
||||
{_trans("Frame advance"), HK_FRAME_ADVANCE, HK_FRAME_ADVANCE_RESET_SPEED},
|
||||
{_trans("Movie"), HK_START_RECORDING, HK_READ_ONLY_MODE},
|
||||
{_trans("Stepping"), HK_STEP, HK_SKIP},
|
||||
{_trans("Program Counter"), HK_SHOW_PC, HK_SET_PC},
|
||||
{_trans("Breakpoint"), HK_BP_TOGGLE, HK_MBP_ADD},
|
||||
{_trans("Wii"), HK_TRIGGER_SYNC_BUTTON, HK_BALANCEBOARD_CONNECT},
|
||||
{_trans("Graphics toggles"), HK_TOGGLE_CROP, HK_TOGGLE_TEXTURES},
|
||||
{_trans("Internal Resolution"), HK_INCREASE_IR, HK_DECREASE_IR},
|
||||
|
@ -333,6 +348,10 @@ void HotkeyManager::LoadDefaults(const ControllerInterface& ciface)
|
|||
set_key_expression(HK_STOP, "Escape");
|
||||
set_key_expression(HK_FULLSCREEN, ALT + " & Return");
|
||||
#endif
|
||||
set_key_expression(HK_STEP, NON + " & `F11`");
|
||||
set_key_expression(HK_STEP_OVER, NON + " & `F10`");
|
||||
set_key_expression(HK_STEP_OUT, SHIFT + " & `F11`");
|
||||
set_key_expression(HK_BP_TOGGLE, NON + " & `F9`");
|
||||
set_key_expression(HK_SCREENSHOT, NON + " & `F9`");
|
||||
set_key_expression(HK_WIIMOTE1_CONNECT, ALT + " & `F5`");
|
||||
set_key_expression(HK_WIIMOTE2_CONNECT, ALT + " & `F6`");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue