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 },
170 {
'1', 0, {
'1',
'!'} },
171 {
'2', 0, {
'2',
'@'} },
172 {
'3', 0, {
'3', 0x2116} },
173 {
'4', 0, {
'4',
'$'} },
174 {
'5', 0, {
'5',
'%'} },
175 {
'6', 0, {
'6', 0x20AC} },
176 {
'7', 0, {
'7', 0xA7} },
177 {
'8', 0, {
'8',
'*'} },
178 {
'9', 0, {
'9',
'('} },
179 {
'0', 0, {
'0',
')'} },
180 { VK_OEM_PLUS, 0, {
'=',
'+'} },
183 {
'Q',
CAPLOK, {0x447, 0x427} },
184 {
'W',
CAPLOK, {0x448, 0x428} },
185 {
'E',
CAPLOK, {0x435, 0x415} },
186 {
'R',
CAPLOK, {0x440, 0x420} },
187 {
'T',
CAPLOK, {0x442, 0x422} },
188 {
'Y',
CAPLOK, {0x44a, 0x42a} },
189 {
'U',
CAPLOK, {0x443, 0x423} },
190 {
'I',
CAPLOK, {0x438, 0x418} },
191 {
'O',
CAPLOK, {0x43e, 0x41e} },
192 {
'P',
CAPLOK, {0x43f, 0x41f} },
197 {
'A',
CAPLOK, {0x430, 0x410} },
198 {
'S',
CAPLOK, {0x441, 0x421} },
199 {
'D',
CAPLOK, {0x434, 0x414} },
200 {
'F',
CAPLOK, {0x444, 0x424} },
201 {
'G',
CAPLOK, {0x433, 0x413} },
202 {
'H',
CAPLOK, {0x445, 0x425} },
203 {
'J',
CAPLOK, {0x439, 0x419} },
204 {
'K',
CAPLOK, {0x43a, 0x41a} },
205 {
'L',
CAPLOK, {0x43b, 0x41b} },
210 {
'Z',
CAPLOK, {0x437, 0x417} },
211 {
'X',
CAPLOK, {0x436, 0x416} },
212 {
'C',
CAPLOK, {0x446, 0x426} },
213 {
'V',
CAPLOK, {0x432, 0x412} },
214 {
'B',
CAPLOK, {0x431, 0x411} },
215 {
'N',
CAPLOK, {0x43d, 0x41d} },
216 {
'M',
CAPLOK, {0x43c, 0x41c} },
218 { VK_OEM_COMMA, 0, {
',', 0x84} },
220 { VK_OEM_PERIOD, 0, {
'.', 0x94} },
225 { 0x6e, 0, {
',',
','} },
227 {
VK_ADD, 0, {
'+',
'+'} },
239 { VK_OEM_102, 0, {0x5c, 0x7c} },
240 {
VK_BACK, 0, {0x8, 0x8, 0x7f} },
254 { VK_OEM_MINUS, 0, {
'-',
'_'} },
272#define vk_master(n,x) { (PVK_TO_WCHARS1)x, n, sizeof(x[0]) }
284 { 0x0e,
L"Backspace" },
289 { 0x36,
L"Right Shift" },
293 { 0x3a,
L"CAPLOK Lock" },
305 { 0x46,
L"Scroll Lock" },
318 { 0x53,
L"Num Del" },
319 { 0x54,
L"Sys Req" },
338 { 0x1c,
L"Num Enter" },
339 { 0x1d,
L"Right Control" },
341 { 0x37,
L"Prnt Scrn" },
342 { 0x38,
L"Right Alt" },
343 { 0x45,
L"Num Lock" },
347 { 0x49,
L"Page Up" },
353 { 0x51,
L"Page Down" },
356 { 0x54,
L"<ReactOS>" },
358 { 0x5b,
L"Left <ReactOS>" },
359 { 0x5c,
L"Right <ReactOS>" },
360 { 0x5d,
L"Application" },
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
PKBDTABLES WINAPI KbdLayerDescriptor()