- add left backslash keycode, also suggested by Dieter Mittelmaier

This commit is contained in:
Bryce Denney 2001-06-25 13:39:10 +00:00
parent c6e98db0fc
commit f6a09136e7
2 changed files with 2 additions and 0 deletions

View File

@ -166,6 +166,7 @@ private:
#define BX_KEY_LEFT_BRACKET 34
#define BX_KEY_BACKSLASH 51
#define BX_KEY_LEFT_BACKSLASH 94
#define BX_KEY_RIGHT_BRACKET 35
#define BX_KEY_MINUS 20
#define BX_KEY_GRAVE 49

View File

@ -646,6 +646,7 @@ bx_keyb_c::gen_scancode(Bit32u key)
case BX_KEY_LEFT_BRACKET: scancode = 0x1a; break;
case BX_KEY_BACKSLASH: scancode = 0x2b; break;
case BX_KEY_LEFT_BACKSLASH: scancode = 0x56; break;
case BX_KEY_RIGHT_BRACKET: scancode = 0x1b; break;
case BX_KEY_MINUS: scancode = 0x0c; break;
case BX_KEY_GRAVE: scancode = 0x29; break;