From 0e55a0bfc0581b58ba0b2ba08ffc5ad86171c423 Mon Sep 17 00:00:00 2001 From: AJR Date: Sat, 8 Oct 2016 20:53:58 -0400 Subject: Misc. keyboard input improvements - Add BS, Tab, 00, 000 keys common on add-on keypads as input items; SDL may recognize these, but DirectInput does not - Assign Keypad 00 and Keypad 000 in several drivers' input lists - Add SDL keycode for "cancel" key - Add keypad keys as alternates to natural keyboard - Move has_keyboard() out of the core; enabled() test is unnecessary now that all optional keyboards are slot devices (nw) --- src/emu/input.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/emu/input.cpp') diff --git a/src/emu/input.cpp b/src/emu/input.cpp index 93f349cee3a..1c1570b06e8 100644 --- a/src/emu/input.cpp +++ b/src/emu/input.cpp @@ -288,6 +288,10 @@ static const code_string_table itemid_token_table[] = { ITEM_ID_PLUS_PAD, "PLUSPAD" }, { ITEM_ID_DEL_PAD, "DELPAD" }, { ITEM_ID_ENTER_PAD, "ENTERPAD" }, + { ITEM_ID_BS_PAD, "BSPAD" }, + { ITEM_ID_TAB_PAD, "TABPAD" }, + { ITEM_ID_00_PAD, "00PAD" }, + { ITEM_ID_000_PAD, "000PAD" }, { ITEM_ID_PRTSCR, "PRTSCR" }, { ITEM_ID_PAUSE, "PAUSE" }, { ITEM_ID_LSHIFT, "LSHIFT" }, -- cgit v1.2.3-70-g09d2