- Timestamp:
- Mar 19, 2007 1:29:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/linux/XKeyboardNew.cpp
r1555 r1556 37 37 http://www.win.tue.nl/~aeb/linux/kbd/scancodes.html 38 38 and the Xorg keyboard configuration files in /etc/X11/xkb for interesting information. */ 39 static int ExtKeySymToScanCode[3 7] =39 static int ExtKeySymToScanCode[38] = 40 40 { 41 41 0x147 /* 97 non-KP-home */, 0x148 /* 98 non-KP-up */, 0x149 /* 99 non-KP-PgUp */, … … 87 87 } 88 88 /* Extended scancodes need to be looked up in a table. */ 89 if ((uKeyCode >= 97) && (uKeyCode <= 13 3))89 if ((uKeyCode >= 97) && (uKeyCode <= 134)) 90 90 { 91 91 wineKbdInfo->wScan = ExtKeySymToScanCode[uKeyCode - 97] & 255;
Note:
See TracChangeset
for help on using the changeset viewer.