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 {
VK_TAB, 0, {
'\t',
'\t'} },
168 {
VK_ADD, 0, {
'+',
'+' } },
176 {
VK_OEM_3, 0, {
'`',
'~',
'`',
'~'} },
177 {
'1',
CAPLOK, {0x0103, 0x0102,
'1',
'!'} },
178 {
'2',
CAPLOK, {0x00e2, 0x00c2,
'2',
'@'} },
179 {
'3',
CAPLOK, {0x00ea, 0x00ca,
'3',
'#'} },
180 {
'4',
CAPLOK, {0x00f4, 0x00d4,
'4',
'$'} },
181 {
'5', 0, {0x0300, 0x0300,
'5',
'%'} },
182 {
'7', 0, {0x0303, 0x0303,
'7',
'&'} },
183 {
'8',
CAPLOK, {0x0301, 0x0301,
'8',
'*'} },
184 {
'9', 0, {0x0323, 0x0323,
'9',
'('} },
185 {
'0',
CAPLOK, {0x0111, 0x0110,
'0',
')'} },
186 { VK_OEM_PLUS, 0, {0x20ab,
'+',
'=',
'+'} },
187 {
'Q',
CAPLOK, {
'q',
'Q',
'q',
'Q'} },
188 {
'W',
CAPLOK, {
'w',
'W',
'w',
'W'} },
189 {
'E',
CAPLOK, {
'e',
'E',
'e',
'E'} },
190 {
'R',
CAPLOK, {
'r',
'R',
'r',
'R'} },
191 {
'T',
CAPLOK, {
't',
'T',
't',
'T'} },
192 {
'Y',
CAPLOK, {
'y',
'Y',
'y',
'Y'} },
193 {
'U',
CAPLOK, {
'u',
'U',
'u',
'U'} },
194 {
'I',
CAPLOK, {
'i',
'I',
'i',
'I'} },
195 {
'O',
CAPLOK, {
'o',
'O',
'o',
'O'} },
196 {
'P',
CAPLOK, {
'p',
'P',
'p',
'P'} },
197 {
'A',
CAPLOK, {
'a',
'A',
'a',
'A'} },
198 {
'S',
CAPLOK, {
's',
'S',
's',
'S'} },
199 {
'D',
CAPLOK, {
'd',
'D',
'd',
'D'} },
200 {
'F',
CAPLOK, {
'f',
'F',
'f',
'F'} },
201 {
'G',
CAPLOK, {
'g',
'G',
'g',
'G'} },
202 {
'H',
CAPLOK, {
'h',
'H',
'h',
'H'} },
203 {
'J',
CAPLOK, {
'j',
'J',
'j',
'J'} },
204 {
'K',
CAPLOK, {
'k',
'K',
'k',
'K'} },
205 {
'L',
CAPLOK, {
'l',
'L',
'l',
'L'} },
206 {
VK_OEM_1, 0, {
';',
':',
';',
':'} },
207 {
VK_OEM_7, 0, {
'\'',
'\"',
'\'',
'\"'}},
208 {
'Z',
CAPLOK, {
'z',
'Z',
'z',
'Z'} },
209 {
'X',
CAPLOK, {
'x',
'X',
'x',
'X'} },
210 {
'C',
CAPLOK, {
'c',
'C',
'c',
'C'} },
211 {
'V',
CAPLOK, {
'v',
'V',
'v',
'V'} },
212 {
'B',
CAPLOK, {
'b',
'B',
'b',
'B'} },
213 {
'N',
CAPLOK, {
'n',
'N',
'n',
'N'} },
214 {
'M',
CAPLOK, {
'm',
'M',
'm',
'M'} },
215 { VK_OEM_COMMA, 0, {
',',
'<',
',',
'<'} },
216 { VK_OEM_PERIOD, 0, {
'.',
'>',
'.',
'>'} },
217 {
VK_OEM_2, 0, {
'/',
'?',
'/',
'?'} },
224 {
VK_OEM_5, 0, {
'\\',
'|',
'\\',
'|', 0x001c} },
225 { VK_OEM_102, 0, {
'\\',
'|',
'\\',
'|', 0x001c} },
235 {
'6', 0, {0x0309, 0x0309,
'6',
'^',
WCH_NONE, 0x001e} },
236 { VK_OEM_MINUS, 0, {
'-',
'_',
'-',
'_',
WCH_NONE, 0x001f} },
254#define vk_master(n,x) { (PVK_TO_WCHARS1)x, n, sizeof(x[0]) }
267 { 0x0e,
L"Backspace" },
272 { 0x36,
L"Right Shift" },
276 { 0x3a,
L"CAPLOK Lock" },
288 { 0x46,
L"Scroll Lock" },
301 { 0x53,
L"Num Del" },
302 { 0x54,
L"Sys Req" },
321 { 0x1c,
L"Num Enter" },
322 { 0x1d,
L"Right Control" },
324 { 0x37,
L"Prnt Scrn" },
325 { 0x38,
L"Right Alt" },
326 { 0x45,
L"Num Lock" },
330 { 0x49,
L"Page Up" },
335 { 0x51,
L"Page Down" },
338 { 0x54,
L"<ReactOS>" },
340 { 0x5b,
L"Left <ReactOS>" },
341 { 0x5c,
L"Right <ReactOS>" },
342 { 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[]
INT WINAPI DllMain(PVOID hinstDll, ULONG dwReason, PVOID reserved)
ROSDATA VSC_VK extcode0_to_vk[]
ROSDATA VK_TO_WCHAR_TABLE vk_to_wchar_master_table[]
ROSDATA VK_TO_WCHARS5 key_to_chars_5mod[]
ROSDATA VK_TO_WCHARS2 key_to_chars_2mod[]
ROSDATA VK_TO_WCHARS6 key_to_chars_6mod[]
ROSDATA VK_TO_BIT modifier_keys[]
ROSDATA VSC_VK extcode1_to_vk[]
ROSDATA KBDTABLES keyboard_layout_table