Parent Directory | Revision Log
Correct scancodes for KP_Decimal and KP_Delete.
1 | astrand | 66 | include modifiers |
2 | |||
3 | # | ||
4 | # Top row | ||
5 | # | ||
6 | 1 0x2 | ||
7 | 2 0x3 | ||
8 | 3 0x4 | ||
9 | 4 0x5 | ||
10 | 5 0x6 | ||
11 | 6 0x7 | ||
12 | 7 0x8 | ||
13 | 8 0x9 | ||
14 | 9 0xa | ||
15 | 0 0xb | ||
16 | BackSpace 0xe | ||
17 | |||
18 | # | ||
19 | # QWERTY first row | ||
20 | # | ||
21 | Tab 0xf | ||
22 | astrand | 86 | ISO_Left_Tab 0xf shift |
23 | astrand | 66 | q 0x10 addupper |
24 | w 0x11 addupper | ||
25 | e 0x12 addupper | ||
26 | r 0x13 addupper | ||
27 | t 0x14 addupper | ||
28 | y 0x15 addupper | ||
29 | u 0x16 addupper | ||
30 | i 0x17 addupper | ||
31 | o 0x18 addupper | ||
32 | p 0x19 addupper | ||
33 | |||
34 | # | ||
35 | # QWERTY second row | ||
36 | # | ||
37 | a 0x1e addupper | ||
38 | s 0x1f addupper | ||
39 | d 0x20 addupper | ||
40 | f 0x21 addupper | ||
41 | g 0x22 addupper | ||
42 | h 0x23 addupper | ||
43 | j 0x24 addupper | ||
44 | k 0x25 addupper | ||
45 | l 0x26 addupper | ||
46 | Return 0x1c | ||
47 | |||
48 | # | ||
49 | # QWERTY third row | ||
50 | # | ||
51 | z 0x2c addupper | ||
52 | x 0x2d addupper | ||
53 | c 0x2e addupper | ||
54 | v 0x2f addupper | ||
55 | b 0x30 addupper | ||
56 | n 0x31 addupper | ||
57 | m 0x32 addupper | ||
58 | |||
59 | astrand | 181 | space 0x39 localstate |
60 | astrand | 66 | |
61 | # | ||
62 | # Esc and Function keys | ||
63 | # | ||
64 | astrand | 69 | Escape 0x1 localstate |
65 | F1 0x3b localstate | ||
66 | F2 0x3c localstate | ||
67 | F3 0x3d localstate | ||
68 | F4 0x3e localstate | ||
69 | F5 0x3f localstate | ||
70 | F6 0x40 localstate | ||
71 | F7 0x41 localstate | ||
72 | F8 0x42 localstate | ||
73 | F9 0x43 localstate | ||
74 | F10 0x44 localstate | ||
75 | F11 0x57 localstate | ||
76 | F12 0x58 localstate | ||
77 | astrand | 66 | |
78 | # Printscreen, Scrollock and Pause | ||
79 | # Printscreen really requires four scancodes (0xe0, 0x2a, 0xe0, 0x37), | ||
80 | # but (0xe0, 0x37) seems to work. | ||
81 | Print 0xb7 | ||
82 | Scroll_Lock 0x46 | ||
83 | # Pause requires five scancodes. TBD. | ||
84 | |||
85 | # | ||
86 | # Insert - PgDown | ||
87 | # | ||
88 | astrand | 69 | Insert 0xd2 localstate |
89 | Delete 0xd3 localstate | ||
90 | Home 0xc7 localstate | ||
91 | End 0xcf localstate | ||
92 | Page_Up 0xc9 localstate | ||
93 | Page_Down 0xd1 localstate | ||
94 | astrand | 66 | |
95 | # | ||
96 | # Arrow keys | ||
97 | # | ||
98 | astrand | 69 | Left 0xcb localstate |
99 | Up 0xc8 localstate | ||
100 | Down 0xd0 localstate | ||
101 | Right 0xcd localstate | ||
102 | astrand | 66 | |
103 | # | ||
104 | # Numpad | ||
105 | # | ||
106 | KP_Divide 0xb5 | ||
107 | KP_Multiply 0x37 | ||
108 | KP_Subtract 0x4a | ||
109 | KP_Add 0x4e | ||
110 | KP_Enter 0x9c | ||
111 | |||
112 | astrand | 228 | KP_Decimal 0x53 numlock |
113 | KP_Delete 0x53 | ||
114 | |||
115 | astrand | 66 | KP_0 0x52 numlock |
116 | KP_Insert 0x52 | ||
117 | |||
118 | KP_1 0x4f numlock | ||
119 | KP_End 0x4f | ||
120 | |||
121 | KP_2 0x50 numlock | ||
122 | KP_Down 0x50 | ||
123 | |||
124 | KP_3 0x51 numlock | ||
125 | KP_Page_Down 0x51 | ||
126 | |||
127 | KP_4 0x4b numlock | ||
128 | KP_Left 0x4b | ||
129 | |||
130 | KP_5 0x4c numlock | ||
131 | |||
132 | KP_6 0x4d numlock | ||
133 | KP_Right 0x4d | ||
134 | |||
135 | KP_7 0x47 numlock | ||
136 | KP_Home 0x47 | ||
137 | |||
138 | KP_8 0x48 numlock | ||
139 | KP_Up 0x48 | ||
140 | |||
141 | KP_9 0x49 numlock | ||
142 | KP_Page_Up 0x49 | ||
143 | astrand | 116 | |
144 | # | ||
145 | # Inhibited keys | ||
146 | # | ||
147 | Caps_Lock 0x0 inhibit | ||
148 | Multi_key 0x0 inhibit | ||
149 | Num_Lock 0x0 inhibit | ||
150 | KP_Begin 0x0 inhibit |
ViewVC Help | |
Powered by ViewVC 1.1.26 |