diff options
author | 2016-10-08 20:53:58 -0400 | |
---|---|---|
committer | 2016-10-08 21:13:12 -0400 | |
commit | 0e55a0bfc0581b58ba0b2ba08ffc5ad86171c423 (patch) | |
tree | 07db0159259a949a4ff5b98ca4af2c5b5528f5da /src/emu/input.cpp | |
parent | 9ca895ee58fa7f04d68f3fdb269286d66a43fea0 (diff) |
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)
Diffstat (limited to 'src/emu/input.cpp')
-rw-r--r-- | src/emu/input.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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" }, |