10#define WIN32_NO_STATUS
17#define ROSDATA static __declspec(allocate(".data"))
20#pragma data_seg(".data")
23#define ROSDATA static __attribute__((section(".data")))
29#define KNUMS KBDNUMPAD|KBDSPECIAL
30#define KMEXT KBDEXT|KBDMULTIVK
56 'B',
'N',
'M', VK_OEM_COMMA,
104 { 0x10, VK_MEDIA_PREV_TRACK |
KBDEXT },
105 { 0x19, VK_MEDIA_NEXT_TRACK |
KBDEXT },
107 { 0x20, VK_VOLUME_MUTE |
KBDEXT },
108 { 0x21, VK_LAUNCH_APP2 |
KBDEXT },
109 { 0x22, VK_MEDIA_PLAY_PAUSE |
KBDEXT },
110 { 0x24, VK_MEDIA_STOP |
KBDEXT },
111 { 0x2E, VK_VOLUME_DOWN |
KBDEXT },
112 { 0x30, VK_VOLUME_UP |
KBDEXT },
113 { 0x32, VK_BROWSER_HOME |
KBDEXT },
131 { 0x65, VK_BROWSER_SEARCH |
KBDEXT },
132 { 0x66, VK_BROWSER_FAVORITES |
KBDEXT },
133 { 0x67, VK_BROWSER_REFRESH |
KBDEXT },
134 { 0x68, VK_BROWSER_STOP |
KBDEXT },
135 { 0x69, VK_BROWSER_FORWARD |
KBDEXT },
136 { 0x6A, VK_BROWSER_BACK |
KBDEXT },
137 { 0x6B, VK_LAUNCH_APP1 |
KBDEXT },
138 { 0x6C, VK_LAUNCH_MAIL |
KBDEXT },
139 { 0x6D, VK_LAUNCH_MEDIA_SELECT |
KBDEXT },
166 {
'A',
CAPLOK, {
'a',
'A'} },
167 {
'B',
CAPLOK, {
'b',
'B'} },
168 {
'C',
CAPLOK, {
'c',
'C'} },
169 {
'D',
CAPLOK, {
'd',
'D'} },
170 {
'E',
CAPLOK, {
'e',
'E'} },
171 {
'F',
CAPLOK, {
'f',
'F'} },
172 {
'G',
CAPLOK, {
'g',
'G'} },
173 {
'H',
CAPLOK, {
'h',
'H'} },
174 {
'I',
CAPLOK, {
'i',
'I'} },
175 {
'J',
CAPLOK, {
'j',
'J'} },
176 {
'K',
CAPLOK, {
'k',
'K'} },
177 {
'L',
CAPLOK, {
'l',
'L'} },
178 {
'M',
CAPLOK, {
'm',
'M'} },
179 {
'N',
CAPLOK, {
'n',
'N'} },
180 {
'O',
CAPLOK, {
'o',
'O'} },
181 {
'P',
CAPLOK, {
'p',
'P'} },
182 {
'Q',
CAPLOK, {
'q',
'Q'} },
183 {
'R',
CAPLOK, {
'r',
'R'} },
184 {
'S',
CAPLOK, {
's',
'S'} },
185 {
'T',
CAPLOK, {
't',
'T'} },
186 {
'U',
CAPLOK, {
'u',
'U'} },
187 {
'V',
CAPLOK, {
'v',
'V'} },
188 {
'W',
CAPLOK, {
'w',
'W'} },
189 {
'X',
CAPLOK, {
'x',
'X'} },
190 {
'Y',
CAPLOK, {
'y',
'Y'} },
191 {
'Z',
CAPLOK, {
'z',
'Z'} },
194 {
'1', 0, {
'1',
'!'} },
196 {
'2', 0, {
'2',
'\"'} },
197 {
'3', 0, {
'3',
'#'} },
198 {
'4', 0, {
'4',
'$'} },
199 {
'5', 0, {
'5',
'%'} },
201 {
'6', 0, {
'6',
'&'} },
202 {
'7', 0, {
'7',
'\''} },
203 {
'8', 0, {
'8',
'('} },
204 {
'9', 0, {
'9',
')'} },
210 { VK_OEM_PLUS, 0, {
';',
'+'} },
212 { VK_OEM_COMMA ,0, {
',',
'<'} },
213 { VK_OEM_PERIOD ,0, {
'.',
'>'} },
216 {
VK_TAB ,0, {
'\t',
'\t'} },
217 {
VK_ADD ,0, {
'+',
'+'} },
229 {
VK_OEM_4, 0, {
'[' ,
'{' , 0x1b } },
230 {
VK_OEM_6, 0, {
']' ,
'}' , 0x1d } },
231 {
VK_OEM_5, 0, {
'\\',
'|' , 0x1c } },
232 { VK_OEM_102, 0, {
'\\',
'_' , 0x1c } },
240 {
'2', 0, {
'2',
'@',
WCH_NONE, 0} },
241 {
'6', 0, {
'6',
'^',
WCH_NONE, 0x1e } },
242 { VK_OEM_MINUS, 0, {
'-',
'=',
WCH_NONE, 0x1f } },
262#define vk_master(n,x) { (PVK_TO_WCHARS1)x, n, sizeof(x[0]) }
275 { 0x0e,
L"Backspace" },
279 { 0x29,
L"\u534A\u89D2/\u5168\u89D2" },
281 { 0x36,
L"Right Shift" },
285 { 0x3a,
L"Caps Lock" },
297 { 0x46,
L"Scroll Lock" },
310 { 0x53,
L"Num Del" },
311 { 0x54,
L"Sys Req" },
314 { 0x70,
L"\u3072\u3089\u304C\u306A" },
315 { 0x79,
L"\u5909\u63DB" },
316 { 0x7b,
L"\u7121\u5909\u63DB" },
335 { 0x1c,
L"Num Enter" },
336 { 0x1d,
L"Right Control" },
338 { 0x37,
L"Prnt Scrn" },
339 { 0x38,
L"Right Alt" },
340 { 0x45,
L"Num Lock" },
344 { 0x49,
L"Page Up" },
350 { 0x51,
L"Page Down" },
353 { 0x54,
L"<ReactOS>" },
354 { 0x5b,
L"Left <ReactOS>" },
355 { 0x5c,
L"Right <ReactOS>" },
356 { 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[]
PKBDTABLES WINAPI KbdLayerDescriptor()
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