mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 08:25:35 +00:00
KEYMAPPER: Change hotkey from F8 to CTRL-F8 to reduce game conflicts.
This commit is contained in:
parent
8cf41943f6
commit
b7192731b9
2
README
2
README
@ -1269,7 +1269,7 @@ other games.
|
||||
Alt-Enter - Toggles full screen/windowed
|
||||
Alt-s - Make a screenshot (SDL backend only)
|
||||
Ctrl-F7 - Open virtual keyboard (if enabled)
|
||||
F8 - Open key remapper dialog (if enabled)
|
||||
Ctrl-F8 - Open key remapper dialog (if enabled)
|
||||
|
||||
SCUMM:
|
||||
Ctrl 0-9 and Alt 0-9 - Load and save game state
|
||||
|
@ -65,10 +65,10 @@ List<Event> DefaultEventMapper::mapEvent(const Event &ev, EventSource *source) {
|
||||
}
|
||||
#endif
|
||||
#ifdef ENABLE_KEYMAPPER
|
||||
else if (ev.kbd.keycode == KEYCODE_F8 && ev.kbd.hasFlags(0)) {
|
||||
else if (ev.kbd.hasFlags(KBD_CTRL) && ev.kbd.keycode == KEYCODE_F8) {
|
||||
mappedEvent.type = EVENT_KEYMAPPER_REMAP;
|
||||
|
||||
// Avoid blocking F8 events from engine.
|
||||
// Avoid blocking CTRL-F8 events from engine.
|
||||
addDelayedEvent(100, ev);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user