1 #ifndef __WINE_KEYBOARD_H
2 #define __WINE_KEYBOARD_H
11 struct KeyTableEntry KeyTable
[] = {
12 { 0x3, 0x3, 0x0, "" },
13 { 0x8, 0x8, 0xe, "Backspace" },
14 { 0x9, 0x9, 0xf, "Tab" },
15 { 0xc, 0x0, 0x4c, "Num 5" },
16 { 0xd, 0xd, 0x1c, "Enter" },
17 { 0x10, 0x0, 0x2a, "Shift" },
18 { 0x11, 0x0, 0x1d, "Ctrl" },
19 { 0x12, 0x0, 0x38, "Alt" },
20 { 0x14, 0x0, 0x3a, "Caps Lock" },
21 { 0x1b, 0x1b, 0x1, "Esc" },
22 { 0x20, 0x20, 0x39, "Space" },
23 { 0x21, 0x0, 0x49, "Num 9" },
24 { 0x22, 0x0, 0x51, "Num 3" },
25 { 0x23, 0x0, 0x4f, "Num 1" },
26 { 0x24, 0x0, 0x47, "Num 7" },
27 { 0x25, 0x0, 0x4b, "Num 4" },
28 { 0x26, 0x0, 0x48, "Num 8" },
29 { 0x27, 0x0, 0x4d, "Num 6" },
30 { 0x28, 0x0, 0x50, "Num 2" },
31 { 0x2d, 0x0, 0x52, "Num 0" },
32 { 0x2e, 0x0, 0x53, "Num Del" },
33 { 0x30, 0x30, 0xb, "0" },
34 { 0x31, 0x31, 0x2, "1" },
35 { 0x32, 0x32, 0x3, "2" },
36 { 0x33, 0x33, 0x4, "3" },
37 { 0x34, 0x34, 0x5, "4" },
38 { 0x35, 0x35, 0x6, "5" },
39 { 0x36, 0x36, 0x7, "6" },
40 { 0x37, 0x37, 0x8, "7" },
41 { 0x38, 0x38, 0x9, "8" },
42 { 0x39, 0x39, 0xa, "9" },
43 { 0x41, 0x41, 0x1e, "A" },
44 { 0x42, 0x42, 0x30, "B" },
45 { 0x43, 0x43, 0x2e, "C" },
46 { 0x44, 0x44, 0x20, "D" },
47 { 0x45, 0x45, 0x12, "E" },
48 { 0x46, 0x46, 0x21, "F" },
49 { 0x47, 0x47, 0x22, "G" },
50 { 0x48, 0x48, 0x23, "H" },
51 { 0x49, 0x49, 0x17, "I" },
52 { 0x4a, 0x4a, 0x24, "J" },
53 { 0x4b, 0x4b, 0x25, "K" },
54 { 0x4c, 0x4c, 0x26, "L" },
55 { 0x4d, 0x4d, 0x32, "M" },
56 { 0x4e, 0x4e, 0x31, "N" },
57 { 0x4f, 0x4f, 0x18, "O" },
58 { 0x50, 0x50, 0x19, "P" },
59 { 0x51, 0x51, 0x10, "Q" },
60 { 0x52, 0x52, 0x13, "R" },
61 { 0x53, 0x53, 0x1f, "S" },
62 { 0x54, 0x54, 0x14, "T" },
63 { 0x55, 0x55, 0x16, "U" },
64 { 0x56, 0x56, 0x2f, "V" },
65 { 0x57, 0x57, 0x11, "W" },
66 { 0x58, 0x58, 0x2d, "X" },
67 { 0x59, 0x59, 0x15, "Y" },
68 { 0x5a, 0x5a, 0x2c, "Z" },
69 { 0x60, 0x0, 0x52, "Num 0" },
70 { 0x61, 0x0, 0x4f, "Num 1" },
71 { 0x62, 0x0, 0x50, "Num 2" },
72 { 0x63, 0x0, 0x51, "Num 3" },
73 { 0x64, 0x0, 0x4b, "Num 4" },
74 { 0x65, 0x0, 0x4c, "Num 5" },
75 { 0x66, 0x0, 0x4d, "Num 6" },
76 { 0x67, 0x0, 0x47, "Num 7" },
77 { 0x68, 0x0, 0x48, "Num 8" },
78 { 0x69, 0x0, 0x49, "Num 9" },
79 { 0x6a, 0x2a, 0x37, "Num *" },
80 { 0x6b, 0x2b, 0x4e, "Num +" },
81 { 0x6c, 0x0, 0x0, "" },
82 { 0x6d, 0x2d, 0x4a, "Num -" },
83 { 0x6e, 0x2e, 0x53, "Num Del" },
84 { 0x6f, 0x2f, 0x0, "" },
85 { 0x70, 0x0, 0x3b, "F1" },
86 { 0x71, 0x0, 0x3c, "F2" },
87 { 0x72, 0x0, 0x3d, "F3" },
88 { 0x73, 0x0, 0x3e, "F4" },
89 { 0x74, 0x0, 0x3f, "F5" },
90 { 0x75, 0x0, 0x40, "F6" },
91 { 0x76, 0x0, 0x41, "F7" },
92 { 0x77, 0x0, 0x42, "F8" },
93 { 0x78, 0x0, 0x43, "F9" },
94 { 0x79, 0x0, 0x44, "F10" },
95 { 0x7a, 0x0, 0x57, "F11" },
96 { 0x7b, 0x0, 0x58, "F12" },
97 { 0x90, 0x0, 0x45, "Pause" },
98 { 0x91, 0x0, 0x46, "Scroll Lock" },
99 { 0xba, 0x3b, 0x27, ";" },
100 { 0xbb, 0x3d, 0xd, "=" },
101 { 0xbc, 0x2c, 0x33, "," },
102 { 0xbd, 0x2d, 0xc, "-" },
103 { 0xbe, 0x2e, 0x34, "." },
104 { 0xbf, 0x2f, 0x35, "/" },
105 { 0xc0, 0x60, 0x29, "`" },
106 { 0xdb, 0x5b, 0x1a, "[" },
107 { 0xdc, 0x5c, 0x2b, "\\" },
108 { 0xdd, 0x5d, 0x1b, "]" },
109 { 0xde, 0x27, 0x28, "\'" },
110 { 0xe2, 0x5c, 0x56, "\\" },
112 #define KeyTableSize sizeof(KeyTable) / sizeof(struct KeyTableEntry)
114 #endif /* __WINE_KEYBOARD_H */