Changeset 29749 in vbox
- Timestamp:
- May 21, 2010 9:55:12 PM (15 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Input/UsbKbd.cpp
r28909 r29749 385 385 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 28-2F */ 386 386 0x00, 0x00, 0x00, 0x00, 0x00, 0x54, 0x00, 0x46, /* 30-37 */ 387 0xe6, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 38-3F */ 388 0x00, 0x00, 0x00, 0x00, 0x00, 0x48, 0x00, 0x4a, /* 40-47 */ 387 /* Sun-specific keys. Most of the XT codes are made up */ 388 0xe6, 0x00, 0x00, 0x75, 0x76, 0x77, 0xA3, 0x78, /* 38-3F */ 389 0x80, 0x81, 0x82, 0x79, 0x00, 0x48, 0x00, 0x4a, /* 40-47 */ 389 390 0x52, 0x4b, 0x00, 0x50, 0x00, 0x4f, 0x00, 0x4d, /* 48-4F */ 390 391 0x51, 0x4e, 0x49, 0x4c, 0x00, 0x00, 0x00, 0x00, /* 50-57 */ -
trunk/src/VBox/Frontends/Common/VBoxKeyboard/keyboard-tables.h
r29720 r29749 83 83 /* Sun Menu, additional Japanese keys */ 84 84 #ifdef sun 85 0x15 d, 0x79, 0x00, 0x29, 0x00, 0x00, 0x00, 0x00, /* FF20 */85 0x15D, 0x79, 0x00, 0x29, 0x00, 0x00, 0x00, 0x00, /* FF20 */ 86 86 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00, /* FF28 */ 87 87 #else 88 0x15 d, 0x00, 0x7b, 0x79, 0x00, 0x00, 0x00, 0x70, /* FF20 */88 0x15D, 0x00, 0x7B, 0x79, 0x00, 0x00, 0x00, 0x70, /* FF20 */ 89 89 0x00, 0x00, 0x29, 0x00, 0x00, 0x00, 0x00, 0x00, /* FF28 */ 90 90 #endif /* sun */ 91 91 /* additional Korean keys */ 92 0x00, 0x f2, 0x00, 0x00, 0xf1, 0x00, 0x00, 0x00, /* FF30 */92 0x00, 0xF2, 0x00, 0x00, 0xF1, 0x00, 0x00, 0x00, /* FF30 */ 93 93 /* unused */ 94 94 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* FF38 */ … … 99 99 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* FF58 */ 100 100 /* misc keys */ 101 /* SunUndo SunAgainMenu */101 /* Menu */ 102 102 #ifdef sun 103 /*?*/ 0, 0x137, 0x7b, 0x152, 0x00, 0x 107, 0x105, 0x15D,/* FF60 */103 /*?*/ 0, 0x137, 0x7b, 0x152, 0x00, 0x00, 0x00, 0x15D, /* FF60 */ 104 104 #else 105 /*?*/ 0, 0x137, 0, 0x152, 0x00, 0x107, 0x105, 0x15D,/* FF60 */105 /*?*/ 0, 0x137, 0, 0x152, 0x00, 0x00, 0x00, 0x15D, /* FF60 */ 106 106 #endif /* sun */ 107 /* SunFind SunStop SunHelp */108 0x 141, 0x168, 0x175, 0x146, 0x00, 0x00, 0x00, 0x00,/* FF68 */107 /* Help */ 108 0x00, 0x00, 0x13B, 0x146, 0x00, 0x00, 0x00, 0x00, /* FF68 */ 109 109 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* FF70 */ 110 110 /* keypad keys */ … … 118 118 0x52, 0x4F, 0x50, 0x51, 0x4B, 0x4C, 0x4D, 0x47, /* FFB0 */ 119 119 0x48, 0x49, 0x00, 0x00, 0x00, 0x00, /* FFB8 */ 120 /* function keys (F1 to F 24) */120 /* function keys (F1 to F12) */ 121 121 0x3B, 0x3C, 122 122 0x3D, 0x3E, 0x3F, 0x40, 0x41, 0x42, 0x43, 0x44, /* FFC0 */ 123 0x57, 0x58, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, /* FFC8 */ 124 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x76, 0x00, 0x00, /* FFD0 */ 123 #ifdef sun 124 /* On Solaris, F11 to F20 are actually keys on the left function block. 125 * Since just one of them has a set 1 PS/2 scan code, we arbitrarily assign 126 * the rest scan codes which are extended versions of F2 to F10. With 127 * the emulated PS/2 keyboard this will not help anyone, but with the 128 * emulated USB one we can translate them to the proper USB scan codes. */ 129 0x13C, 0x13D, 0x72, 0x13E, 0x13F, 0x140, 0x141, 0x142, /* FFC8 */ 130 0x143, 0x144, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* FFD0 */ 131 #else 132 0x57, 0x58, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* FFC8 */ 133 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* FFD0 */ 134 #endif 125 135 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* FFD8 */ 126 136 /* modifier keys */
Note:
See TracChangeset
for help on using the changeset viewer.