diff options
| author | 2023-02-18 06:18:45 +1100 | |
|---|---|---|
| committer | 2023-02-18 06:18:45 +1100 | |
| commit | d4589e0b29d6085072ff635d87c3d95c21813a58 (patch) | |
| tree | c0d3283ecdd99bd380fc155f4e09b7f4bd573116 /plugins/cheatfind | |
| parent | 20d7135179ffe9959f4bfb759a0e5735b7aaaf15 (diff) | |
Input refactoring:
osd/modules/input, emu/inpttype.cpp: Made most default joystick
assignments supplied by input modules. Input modules take available
controls into consideration when generating default assignments.
emu/inpttype.ipp: Added a separate "Back" UI input separate from Cancel.
You may want an easier to hit combination for moving to the previous
menu than for exiting or cancelling input. They both default to Escape.
emu/inpttype.ipp: Added a UI Help control. Currently only used by
analog inputs menu
emu/inpttype.h: Moved I/O port field type enum to its own header and
sorted UI controls so they appear in a more logical order.
ui: Don't use UI Select to restore defaults - people should be getting
used to the UI Clear input by now. UI Select cycles multi-value items
instead.
ui/inputmap.cpp: Don't use immediate cancel to cycle between clearing
and restoring default assignment (use UI Clear instead).
osd: Reduced the number of files needing to include the dreaded emu.h.
Got some implementation out of headers.
Diffstat (limited to 'plugins/cheatfind')
| -rw-r--r-- | plugins/cheatfind/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/cheatfind/init.lua b/plugins/cheatfind/init.lua index 7c3cea73e8b..d86315d7156 100644 --- a/plugins/cheatfind/init.lua +++ b/plugins/cheatfind/init.lua @@ -1044,7 +1044,7 @@ function cheatfind.startplugin() end local function menu_callback(index, event) - if event == "cancel" and pausesel == 1 then + if event == "back" and pausesel == 1 then emu.unpause() menu_is_showing = false return false -- return false so menu will be popped off the stack |
