Changeset 40326 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Mar 2, 2012 2:55:12 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/Common/VBoxKeyboard/keyboard-tables.h
r35479 r40326 103 103 /*?*/ 0, 0x137, 0, 0x152, 0x00, 0x00, 0x00, 0x15D, /* FF60 */ 104 104 #endif /* sun */ 105 /* Help */105 /* Help (invented scan code) */ 106 106 0x00, 0x00, 0x13B, 0x146, 0x00, 0x00, 0x00, 0x00, /* FF68 */ 107 107 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* FF70 */ … … 120 120 0x3D, 0x3E, 0x3F, 0x40, 0x41, 0x42, 0x43, 0x44, /* FFC0 */ 121 121 #ifdef sun 122 /* On Solaris, F11 to F20 are actually keys on the left function block. 123 * Since just one of them has a set 1 PS/2 scan code, we arbitrarily assign 124 * the rest scan codes which are extended versions of F2 to F10. With 125 * the emulated PS/2 keyboard this will not help anyone, but with the 126 * emulated USB one we can translate them to the proper USB scan codes. */ 127 0x13C, 0x13D, 0x72, 0x13E, 0x13F, 0x140, 0x141, 0x142, /* FFC8 */ 128 0x143, 0x144, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* FFD0 */ 122 /* On Solaris for historical reasons the STOP and AGAIN keys are reported 123 * as F11 and F12 respectively. We send invented type 1 scan codes for 124 * which can be translated to real ones again by the USB keyboard 125 * emulation. */ 126 0x13C, 0x13D, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, /* FFC8 */ 127 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x76, 0x00, 0x00, /* FFD0 */ 129 128 #else 130 0x57, 0x58, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,/* FFC8 */131 0x 00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,/* FFD0 */129 0x57, 0x58, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, /* FFC8 */ 130 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x76, 0x00, 0x00, /* FFD0 */ 132 131 #endif 133 132 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* FFD8 */ … … 194 193 /* This list was put together using /usr/include/X11/Sunkeysym.h and 195 194 comparing the scancodes produced by a Sun type 7 USB keyboard. Note that 196 Sun call F11 and F12 F36 and F37 respectively, as they already had 35 197 function keys when those two physical keys were added. */ 195 Sun call F11 and F12 F36 and F37 respectively. */ 198 196 static const unsigned sun_key_scan[256] = 199 197 {
Note:
See TracChangeset
for help on using the changeset viewer.