Skip to content

Commit

Permalink
Default UI keys cleanup [hap, R. Belmont]
Browse files Browse the repository at this point in the history
- Pause moved from P to F5
- Step single frame moved from Shift-P to Shift-F5
- Create save state moved from Shift-F7 to F6
- Toggle cheats moved from F6 to Shift-F6
  • Loading branch information
rb6502 committed Feb 14, 2024
1 parent 10b206b commit 45890ad
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 67 deletions.
20 changes: 10 additions & 10 deletions docs/source/usingmame/defaultkeys.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,6 @@ and saving/loading save states.
**Delete**
Clear/reset to default when highlighting an entry on the input
configuration, cheat options, and plugin options pages.
**P**
Pauses the emulated machine.
**Left Shift+P**
While paused, advances to next frame. If rewind is enabled, a new rewind
save state is also captured.
**Left Shift+~**
While paused, loads the most recent rewind save state.
**F1**
Expand Down Expand Up @@ -134,13 +129,23 @@ and saving/loading save states.
* **Enter** - switch to palette/colortable mode.

Note: Not all systems have decoded graphics and/or tilemaps.
**F5**
Pauses the emulated machine.
**Left Shift+F5**
While paused, advances to next frame. If rewind is enabled, a new rewind
save state is also captured.
**Left Ctrl+F5**
Toggle Filter.
(*SDL MAME only*)
**Left Alt+Left Ctrl+F5**
Toggle HLSL Post-Processing.
(*Windows non-SDL MAME only*)
**F6**
Create a save state. Requires an additional keypress to identify the state,
similar to the load option above. If an existing save state is present, it
will also appear in the selection menu to allow overwriting of that save
state.
**Left Shift+F6**
Toggle cheat mode. (if started with “-cheat”)
**Left Ctrl+F6**
Decrease Prescaling.
Expand All @@ -154,11 +159,6 @@ and saving/loading save states.
drivers. If a given driver is not known to work perfectly, you will
receive a warning that the save state may not be valid when attempting to
save or load.*
**Left Shift+F7**
Create a save state. Requires an additional keypress to identify the state,
similar to the load option above. If an existing save state is present, it
will also appear in the selection menu to allow overwriting of that save
state.
**F8**
Decrease frame skipping on the fly.
**F9**
Expand Down
Loading

1 comment on commit 45890ad

@cuavas
Copy link
Member

@cuavas cuavas commented on 45890ad Feb 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn’t done properly:

  • Frame advance is still on Right Shift+P
  • You need to update src/osd/sdl/osdsdl.cpp to add “not Left Ctrl” to the pause assignment to avoid having toggle filter also pause/resume, etc.
  • You need to update src/osd/sdl/osdsdl.cpp to add “not Left Ctrl” to the load save state assignment to avoid having decrease prescale also bring up the save state menu, etc.
  • You need to update src/osd/modules/input/input_windows.cpp to add some “not” combination to the pause assignment to avoid having toggle postprocessing also pause/resume, etc.

Please sign in to comment.