Changeset 47313 in vbox
- Timestamp:
- Jul 22, 2013 3:35:32 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Input/PS2K.cpp
r44973 r47313 420 420 /* 98 */ {UNAS, UNAS, UNAS, 0, T_U }, /* Key Unk: Keyboard Lang 9 */ 421 421 /* 99 */ {UNAS, UNAS, UNAS, 0, T_U }, /* Key Unk: Keyboard Alternate Erase */ 422 /* 9A */ {UNAS, UNAS, UNAS, 0, T_U }, /* Key Unk: Keyboard SysReq/Attention */422 /* 9A */ {UNAS, UNAS, UNAS, 0, T_U }, /* Key Unk: Keyboard SysReq/Attention (Note 3) */ 423 423 /* 9B */ {UNAS, UNAS, UNAS, 0, T_U }, /* Key Unk: Keyboard Cancel */ 424 424 /* 9C */ {UNAS, UNAS, UNAS, 0, T_U }, /* Key Unk: Keyboard Clear */ … … 433 433 }; 434 434 435 /* 436 * Note 1: The behavior of these keys depends on the state of modifier keys 437 * at the time the key was pressed. 438 * 439 * Note 2: The key label depends on the national version of the keyboard. 440 * 441 * Note 3: Certain keys which have their own PS/2 scancodes do not exist on 442 * USB keyboards; the SysReq key is an example. The SysReq key scancode needs 443 * to be translated to the Print Screen HID usage code. The HID usage to PS/2 444 * scancode conversion then generates the correct sequence depending on the 445 * keyboard state. 446 */ 447 435 448 /* USB to PS/2 conversion table for modifier keys. */ 436 449 static const key_def aPS2ModKeys[] = { … … 472 485 0x3f, 0x40, 0x41, 0x42, 0x43, 0x53, 0x47, 0x5f, /* 40-47 */ 473 486 0x60, 0x61, 0x56, 0x5c, 0x5d, 0x5e, 0x57, 0x59, /* 48-4F */ 474 0x5a, 0x5b, 0x62, 0x63, 0x 00, 0x00, 0x64, 0x44, /* 50-57 */487 0x5a, 0x5b, 0x62, 0x63, 0x46, 0x00, 0x64, 0x44, /* 50-57 */ 475 488 0x45, 0x67, 0x00, 0x00, 0x8c, 0x00, 0x00, 0x00, /* 58-5F */ 476 489 0x00, 0x00, 0x00, 0x00, 0x68, 0x69, 0x6a, 0x6b, /* 60-67 */
Note:
See TracChangeset
for help on using the changeset viewer.