diff options
-rw-r--r-- | src/emu/inpttype.h | 2 | ||||
-rw-r--r-- | src/emu/ioport.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/inpttype.h b/src/emu/inpttype.h index 3c30ad517f4..9cf56fd18ee 100644 --- a/src/emu/inpttype.h +++ b/src/emu/inpttype.h @@ -848,6 +848,8 @@ inline void construct_core_types_UI(simple_list<input_type_entry> &typelist) INPUT_PORT_DIGITAL_TYPE( 0, UI, UI_END, "UI End", input_seq(KEYCODE_END) ) INPUT_PORT_DIGITAL_TYPE( 0, UI, UI_PAGE_UP, "UI Page Up", input_seq(KEYCODE_PGUP) ) INPUT_PORT_DIGITAL_TYPE( 0, UI, UI_PAGE_DOWN, "UI Page Down", input_seq(KEYCODE_PGDN) ) + INPUT_PORT_DIGITAL_TYPE( 0, UI, UI_FOCUS_NEXT, "UI Focus Next", input_seq(KEYCODE_TAB, input_seq::not_code, KEYCODE_LSHIFT) ) + INPUT_PORT_DIGITAL_TYPE( 0, UI, UI_FOCUS_PREV, "UI Focus Previous", input_seq(KEYCODE_TAB, KEYCODE_LSHIFT) ) INPUT_PORT_DIGITAL_TYPE( 0, UI, UI_SELECT, "UI Select", input_seq(KEYCODE_ENTER, input_seq::or_code, JOYCODE_BUTTON1_INDEXED(0), input_seq::or_code, KEYCODE_ENTER_PAD) ) INPUT_PORT_DIGITAL_TYPE( 0, UI, UI_CANCEL, "UI Cancel", input_seq(KEYCODE_ESC) ) INPUT_PORT_DIGITAL_TYPE( 0, UI, UI_DISPLAY_COMMENT, "UI Display Comment", input_seq(KEYCODE_SPACE) ) diff --git a/src/emu/ioport.h b/src/emu/ioport.h index 3f5f7560f71..6149ff1cec6 100644 --- a/src/emu/ioport.h +++ b/src/emu/ioport.h @@ -344,6 +344,8 @@ enum ioport_type IPT_UI_END, IPT_UI_PAGE_UP, IPT_UI_PAGE_DOWN, + IPT_UI_FOCUS_NEXT, + IPT_UI_FOCUS_PREV, IPT_UI_SELECT, IPT_UI_CANCEL, IPT_UI_DISPLAY_COMMENT, |