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
57 'B',
'N',
'M', VK_OEM_COMMA,
105 { 0x10, VK_MEDIA_PREV_TRACK |
KBDEXT },
106 { 0x19, VK_MEDIA_NEXT_TRACK |
KBDEXT },
108 { 0x20, VK_VOLUME_MUTE |
KBDEXT },
109 { 0x21, VK_LAUNCH_APP2 |
KBDEXT },
110 { 0x22, VK_MEDIA_PLAY_PAUSE |
KBDEXT },
111 { 0x24, VK_MEDIA_STOP |
KBDEXT },
112 { 0x2E, VK_VOLUME_DOWN |
KBDEXT },
113 { 0x30, VK_VOLUME_UP |
KBDEXT },
114 { 0x32, VK_BROWSER_HOME |
KBDEXT },
132 { 0x65, VK_BROWSER_SEARCH |
KBDEXT },
133 { 0x66, VK_BROWSER_FAVORITES |
KBDEXT },
134 { 0x67, VK_BROWSER_REFRESH |
KBDEXT },
135 { 0x68, VK_BROWSER_STOP |
KBDEXT },
136 { 0x69, VK_BROWSER_FORWARD |
KBDEXT },
137 { 0x6A, VK_BROWSER_BACK |
KBDEXT },
138 { 0x6B, VK_LAUNCH_APP1 |
KBDEXT },
139 { 0x6C, VK_LAUNCH_MAIL |
KBDEXT },
140 { 0x6D, VK_LAUNCH_MEDIA_SELECT |
KBDEXT },
167 {
'0', 0, {
'0', 0xa7} },
169 {
'R',
CAPLOK, {
'r',
'R'} },
170 {
'T',
CAPLOK, {
't',
'T'} },
171 {
'Z',
CAPLOK, {
'z',
'Z'} },
172 {
'O',
CAPLOK, {
'o',
'O'} },
173 {
'P',
CAPLOK, {
'p',
'P'} },
175 {
'H',
CAPLOK, {
'h',
'H'} },
177 {
VK_TAB ,0, {
'\t',
'\t'} },
178 {
VK_ADD ,0, {
'+',
'+'} },
191 {
'1', 0, {
'1',
'\'',
'~'} },
192 {
'2', 0, {
'2',
'\"', 0x2c7} },
193 {
'3', 0, {
'3',
'+',
'^'} },
194 {
'4', 0, {
'4',
'!', 0x2d8} },
195 {
'5', 0, {
'5',
'%', 0xb0} },
196 {
'6', 0, {
'6',
'/', 0x2db} },
197 {
'7', 0, {
'7',
'=',
'`'} },
198 {
'8', 0, {
'8',
'(', 0x2d9} },
199 {
'9', 0, {
'9',
')', 0xb4} },
203 { VK_OEM_PLUS,
CAPLOK, {0xf3, 0xd3, 0xb8} },
206 {
'Q',
CAPLOK, {
'q',
'Q',
'\\'} },
207 {
'W',
CAPLOK, {
'w',
'W',
'|'} },
208 {
'E',
CAPLOK, {
'e',
'E', 0xc4} },
209 {
'U',
CAPLOK, {
'u',
'U', 0x20ac} },
210 {
'I',
CAPLOK, {
'i',
'I', 0xcd} },
214 {
'A',
CAPLOK, {
'a',
'A', 0xe4} },
215 {
'S',
CAPLOK, {
's',
'S', 0x111} },
216 {
'D',
CAPLOK, {
'd',
'D', 0x110} },
217 {
'F',
CAPLOK, {
'f',
'F',
'['} },
218 {
'G',
CAPLOK, {
'g',
'G',
']'} },
219 {
'J',
CAPLOK, {
'j',
'J', 0xed} },
220 {
'K',
CAPLOK, {
'k',
'K', 0x142} },
221 {
'L',
CAPLOK, {
'l',
'L', 0x141} },
226 { VK_OEM_102,
CAPLOK, {0xed, 0xcd,
'<'} },
227 {
'Y',
CAPLOK, {
'y',
'Y',
'>'} },
228 {
'X',
CAPLOK, {
'x',
'X',
'#'} },
229 {
'C',
CAPLOK, {
'c',
'C',
'&'} },
230 {
'V',
CAPLOK, {
'v',
'V',
'@'} },
231 {
'B',
CAPLOK, {
'b',
'B',
'{'} },
232 {
'N',
CAPLOK, {
'n',
'N',
'}'} },
233 {
'M',
CAPLOK, {
'm',
'M',
'<'} },
234 { VK_OEM_COMMA, 0, {
',',
'?',
';'} },
235 { VK_OEM_PERIOD, 0, {
'.',
':',
'>'} },
236 { VK_OEM_MINUS, 0, {
'-',
'_',
'*'} },
245 {
'2', 0, {
'2',
'"',
WCH_NONE, 0} },
246 {
'6', 0, {
'6',
'/',
WCH_NONE, 0x1e } },
247 { VK_OEM_MINUS, 0, {
'-',
'_',
WCH_NONE, 0x1f } },
267#define vk_master(n,x) { (PVK_TO_WCHARS1)x, n, sizeof(x[0]) }
280 { 0x0e,
L"Backspace" },
285 { 0x36,
L"Right Shift" },
289 { 0x3a,
L"CAPLOK Lock" },
301 { 0x46,
L"Scroll Lock" },
314 { 0x53,
L"Num Del" },
315 { 0x54,
L"Sys Req" },
334 { 0x1c,
L"Num Enter" },
335 { 0x1d,
L"Right Ctrl" },
337 { 0x37,
L"Prnt Scrn" },
338 { 0x38,
L"Right Alt" },
339 { 0x45,
L"Num Lock" },
343 { 0x49,
L"Page Up" },
349 { 0x51,
L"Page Down" },
352 { 0x54,
L"<ReactOS>" },
354 { 0x56,
L"Left Windows" },
355 { 0x5b,
L"Right Windows" },
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()