11#define WIN32_NO_STATUS
18#define ROSDATA static __declspec(allocate(".data"))
21#pragma data_seg(".data")
24#define ROSDATA static __attribute__((section(".data")))
30#define KNUMS KBDNUMPAD|KBDSPECIAL
31#define KMEXT KBDEXT|KBDMULTIVK
40 VK_OEM_MINUS, VK_OEM_PLUS,
VK_BACK,
57 'B',
'N',
'M', VK_OEM_COMMA,
106 { 0x10, VK_MEDIA_PREV_TRACK |
KBDEXT },
107 { 0x19, VK_MEDIA_NEXT_TRACK |
KBDEXT },
109 { 0x20, VK_VOLUME_MUTE |
KBDEXT },
110 { 0x21, VK_LAUNCH_APP2 |
KBDEXT },
111 { 0x22, VK_MEDIA_PLAY_PAUSE |
KBDEXT },
112 { 0x24, VK_MEDIA_STOP |
KBDEXT },
113 { 0x2E, VK_VOLUME_DOWN |
KBDEXT },
114 { 0x30, VK_VOLUME_UP |
KBDEXT },
115 { 0x32, VK_BROWSER_HOME |
KBDEXT },
133 { 0x65, VK_BROWSER_SEARCH |
KBDEXT },
134 { 0x66, VK_BROWSER_FAVORITES |
KBDEXT },
135 { 0x67, VK_BROWSER_REFRESH |
KBDEXT },
136 { 0x68, VK_BROWSER_STOP |
KBDEXT },
137 { 0x69, VK_BROWSER_FORWARD |
KBDEXT },
138 { 0x6A, VK_BROWSER_BACK |
KBDEXT },
139 { 0x6B, VK_LAUNCH_APP1 |
KBDEXT },
140 { 0x6C, VK_LAUNCH_MAIL |
KBDEXT },
141 { 0x6D, VK_LAUNCH_MEDIA_SELECT |
KBDEXT },
167 {
'1',
CAPLOK, {0x0e45,
'+' } },
168 {
'2',
CAPLOK, {
'/', 0x0e51} },
169 {
'3',
CAPLOK, {
'-', 0x0e52} },
170 {
'4',
CAPLOK, {0x0e20, 0x0e53} },
171 {
'5',
CAPLOK, {0x0e16, 0x0e54} },
172 {
'7',
CAPLOK, {0x0e36, 0x0e3f} },
173 {
'8',
CAPLOK, {0x0e04, 0x0e55} },
174 {
'9',
CAPLOK, {0x0e15, 0x0e56} },
175 {
'0',
CAPLOK, {0x0e08, 0x0e57} },
176 { VK_OEM_PLUS,
CAPLOK, {0x0e0a, 0x0e59} },
177 {
'Q',
CAPLOK, {0x0e46, 0x0e50} },
178 {
'W',
CAPLOK, {0x0e44,
'\"' } },
179 {
'E',
CAPLOK, {0x0e33, 0x0e0e} },
180 {
'R',
CAPLOK, {0x0e1e, 0x0e11} },
181 {
'T',
CAPLOK, {0x0e30, 0x0e18} },
182 {
'Y',
CAPLOK, {0x0e31, 0x0e4d} },
183 {
'U',
CAPLOK, {0x0e35, 0x0e4a} },
184 {
'I',
CAPLOK, {0x0e23, 0x0e13} },
185 {
'O',
CAPLOK, {0x0e19, 0x0e2f} },
186 {
'P',
CAPLOK, {0x0e22, 0x0e0d} },
187 {
'A',
CAPLOK, {0x0e1f, 0x0e24} },
188 {
'S',
CAPLOK, {0x0e2b, 0x0e06} },
189 {
'D',
CAPLOK, {0x0e01, 0x0e0f} },
190 {
'F',
CAPLOK, {0x0e14, 0x0e42} },
191 {
'G',
CAPLOK, {0x0e40, 0x0e0c} },
192 {
'H',
CAPLOK, {0x0e49, 0x0e47} },
193 {
'J',
CAPLOK, {0x0e48, 0x0e4b} },
194 {
'K',
CAPLOK, {0x0e32, 0x0e29} },
195 {
'L',
CAPLOK, {0x0e2a, 0x0e28} },
198 {
'Z',
CAPLOK, {0x0e1c,
'(' } },
199 {
'X',
CAPLOK, {0x0e1b,
')' } },
200 {
'C',
CAPLOK, {0x0e41, 0x0e09} },
201 {
'V',
CAPLOK, {0x0e2d, 0x0e2e} },
202 {
'B',
CAPLOK, {0x0e34, 0x0e3a} },
203 {
'N',
CAPLOK, {0x0e37, 0x0e4c} },
204 {
'M',
CAPLOK, {0x0e17,
'?' } },
205 { VK_OEM_COMMA,
CAPLOK, {0x0e21, 0x0e12} },
206 { VK_OEM_PERIOD,
CAPLOK, {0x0e43, 0x0e2c} },
209 {
VK_TAB, 0, {
'\t',
'\t' } },
210 {
VK_ADD, 0, {
'+',
'+' } },
221 { VK_OEM_102,
CAPLOK, {0x0e03, 0x0e05, 0x0e52} },
222 {
VK_BACK, 0, {
'\b',
'\b', 0x007f} },
223 {
VK_ESCAPE, 0, {0x001b, 0x001b, 0x001b} },
226 {
VK_CANCEL, 0, {0x0003, 0x0003, 0x0003} },
250#define vk_master(n,x) { (PVK_TO_WCHARS1)x, n, sizeof(x[0]) }
262 { 0x0e,
L"Backspace" },
267 { 0x36,
L"Right Shift" },
271 { 0x3a,
L"CAPLOK Lock" },
283 { 0x46,
L"Scroll Lock" },
296 { 0x53,
L"Num Del" },
297 { 0x54,
L"Sys Req" },
316 { 0x1c,
L"Num Enter" },
317 { 0x1d,
L"Right Control" },
319 { 0x37,
L"Prnt Scrn" },
320 { 0x38,
L"Right Alt" },
321 { 0x45,
L"Num Lock" },
325 { 0x49,
L"Page Up" },
330 { 0x51,
L"Page Down" },
333 { 0x54,
L"<ReactOS>" },
335 { 0x5b,
L"Left <ReactOS>" },
336 { 0x5c,
L"Right <ReactOS>" },
337 { 0x5d,
L"Application" },
PKBDTABLES WINAPI KbdLayerDescriptor()
ROSDATA VSC_LPWSTR extended_key_names[]
ROSDATA USHORT scancode_to_vk[]
ROSDATA VK_TO_WCHARS1 keypad_numbers[]
ROSDATA MODIFIERS modifier_bits
ROSDATA VK_TO_WCHARS4 key_to_chars_4mod[]
ROSDATA VSC_LPWSTR key_names[]
ROSDATA VSC_VK extcode0_to_vk[]
ROSDATA VK_TO_WCHAR_TABLE vk_to_wchar_master_table[]
ROSDATA VK_TO_WCHARS3 key_to_chars_3mod[]
ROSDATA VK_TO_WCHARS2 key_to_chars_2mod[]
ROSDATA VK_TO_BIT modifier_keys[]
ROSDATA VSC_VK extcode1_to_vk[]
ROSDATA KBDTABLES keyboard_layout_table