mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
Fixed OSD interaction with updated default keys. [R. Belmont]
This commit is contained in:
parent
45890ad85c
commit
f8345b810d
@ -891,7 +891,7 @@ namespace {
|
||||
INPUT_PORT_DIGITAL_TYPE(0, UI, UI_TOGGLE_UI, N_p("input-name", "Toggle UI Controls"), input_seq(KEYCODE_SCRLOCK, input_seq::not_code, KEYCODE_LSHIFT, input_seq::not_code, KEYCODE_RSHIFT)) \
|
||||
INPUT_PORT_DIGITAL_TYPE(0, UI, UI_DEBUG_BREAK, N_p("input-name", "Break in Debugger"), input_seq(KEYCODE_TILDE, input_seq::not_code, KEYCODE_LSHIFT, input_seq::not_code, KEYCODE_RSHIFT)) \
|
||||
INPUT_PORT_DIGITAL_TYPE(0, UI, UI_PAUSE, N_p("input-name", "Pause"), input_seq(KEYCODE_F5, input_seq::not_code, KEYCODE_LSHIFT, input_seq::not_code, KEYCODE_RSHIFT)) \
|
||||
INPUT_PORT_DIGITAL_TYPE(0, UI, UI_PAUSE_SINGLE, N_p("input-name", "Pause - Single Step"), input_seq(KEYCODE_F5, KEYCODE_LSHIFT, input_seq::or_code, KEYCODE_P, KEYCODE_RSHIFT)) \
|
||||
INPUT_PORT_DIGITAL_TYPE(0, UI, UI_PAUSE_SINGLE, N_p("input-name", "Pause - Single Step"), input_seq(KEYCODE_F5, KEYCODE_LSHIFT, input_seq::or_code, KEYCODE_F5, KEYCODE_RSHIFT)) \
|
||||
INPUT_PORT_DIGITAL_TYPE(0, UI, UI_REWIND_SINGLE, N_p("input-name", "Rewind - Single Step"), input_seq(KEYCODE_TILDE, KEYCODE_LSHIFT)) \
|
||||
INPUT_PORT_DIGITAL_TYPE(0, UI, UI_SAVE_STATE, N_p("input-name", "Save State"), input_seq(KEYCODE_F6, input_seq::not_code, KEYCODE_LSHIFT, input_seq::not_code, KEYCODE_RSHIFT)) \
|
||||
INPUT_PORT_DIGITAL_TYPE(0, UI, UI_SAVE_STATE_QUICK, N_p("input-name", "Save State - Quick"), input_seq()) \
|
||||
|
@ -131,6 +131,11 @@ void windows_osd_interface::customize_input_type_list(std::vector<input_type_ent
|
||||
entry.defseq(SEQ_TYPE_STANDARD).set(KEYCODE_F12, KEYCODE_LSHIFT, KEYCODE_LCONTROL, input_seq::not_code, KEYCODE_LALT);
|
||||
break;
|
||||
|
||||
// add a Not lctrl Not lalt condition to the pause key
|
||||
case IPT_UI_PAUSE:
|
||||
entry.defseq(SEQ_TYPE_STANDARD).set(KEYCODE_F5, input_seq::not_code, KEYCODE_LCONTROL, input_seq::not_code, KEYCODE_LALT);
|
||||
break;
|
||||
|
||||
// lctrl-lalt-F5 to toggle post-processing
|
||||
case IPT_OSD_4:
|
||||
entry.configure_osd("POST_PROCESS", N_p("input-name", "Toggle Post-Processing"));
|
||||
|
@ -348,12 +348,12 @@ void sdl_osd_interface::customize_input_type_list(std::vector<input_type_entry>
|
||||
// various dipswitches, and pressing them together with
|
||||
// LCTRL will still press/toggle these dipswitches.
|
||||
|
||||
// add a Not lcrtl condition to the reset key
|
||||
// add a Not lctrl condition to the reset key
|
||||
case IPT_UI_SOFT_RESET:
|
||||
entry.defseq(SEQ_TYPE_STANDARD).set(KEYCODE_F3, input_seq::not_code, KEYCODE_LCONTROL, input_seq::not_code, KEYCODE_LSHIFT);
|
||||
break;
|
||||
|
||||
// add a Not lcrtl condition to the show gfx key
|
||||
// add a Not lctrl condition to the show gfx key
|
||||
case IPT_UI_SHOW_GFX:
|
||||
entry.defseq(SEQ_TYPE_STANDARD).set(KEYCODE_F4, input_seq::not_code, KEYCODE_LCONTROL);
|
||||
break;
|
||||
@ -370,7 +370,7 @@ void sdl_osd_interface::customize_input_type_list(std::vector<input_type_entry>
|
||||
entry.defseq(SEQ_TYPE_STANDARD).set(KEYCODE_F6, KEYCODE_LCONTROL);
|
||||
break;
|
||||
|
||||
// add a Not lcrtl condition to the toggle cheat key
|
||||
// add a Not lctrl condition to the toggle cheat key
|
||||
case IPT_UI_TOGGLE_CHEAT:
|
||||
entry.defseq(SEQ_TYPE_STANDARD).set(KEYCODE_F6, input_seq::not_code, KEYCODE_LCONTROL);
|
||||
break;
|
||||
@ -387,12 +387,17 @@ void sdl_osd_interface::customize_input_type_list(std::vector<input_type_entry>
|
||||
entry.defseq(SEQ_TYPE_STANDARD).set(KEYCODE_F12, KEYCODE_LSHIFT, KEYCODE_LALT);
|
||||
break;
|
||||
|
||||
// add a Not lcrtl condition to the load state key
|
||||
// add a Not lctrl condition to the pause key
|
||||
case IPT_UI_PAUSE:
|
||||
entry.defseq(SEQ_TYPE_STANDARD).set(KEYCODE_F5, input_seq::not_code, KEYCODE_LCONTROL);
|
||||
break;
|
||||
|
||||
// add a Not lctrl Not lshift condition to the load state key
|
||||
case IPT_UI_LOAD_STATE:
|
||||
entry.defseq(SEQ_TYPE_STANDARD).set(KEYCODE_F7, input_seq::not_code, KEYCODE_LCONTROL, input_seq::not_code, KEYCODE_LSHIFT);
|
||||
break;
|
||||
|
||||
// add a Not lcrtl condition to the throttle key
|
||||
// add a Not lctrl condition to the throttle key
|
||||
case IPT_UI_THROTTLE:
|
||||
entry.defseq(SEQ_TYPE_STANDARD).set(KEYCODE_F10, input_seq::not_code, KEYCODE_LCONTROL);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user