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', 0, {
'1',
'!' } },
168 {
'3', 0, {
'3', 0x2116} },
169 {
'4', 0, {
'4',
';' } },
170 {
'5', 0, {
'5',
'%' } },
171 {
'7', 0, {
'7',
'?' } },
172 {
'8', 0, {
'8',
'*' } },
173 {
'9', 0, {
'9',
'(' } },
174 {
'0', 0, {
'0',
')' } },
175 { VK_OEM_PLUS,
CAPLOK, {0x04b3, 0x04b2} },
176 {
'Q',
CAPLOK, {0x0439, 0x0419} },
177 {
'W',
CAPLOK, {0x0446, 0x0426} },
178 {
'E',
CAPLOK, {0x0443, 0x0423} },
179 {
'R',
CAPLOK, {0x043a, 0x041a} },
180 {
'T',
CAPLOK, {0x0435, 0x0415} },
181 {
'Y',
CAPLOK, {0x043d, 0x041d} },
182 {
'U',
CAPLOK, {0x0433, 0x0413} },
183 {
'I',
CAPLOK, {0x0448, 0x0428} },
184 {
'O',
CAPLOK, {0x045e, 0x040e} },
185 {
'P',
CAPLOK, {0x0437, 0x0417} },
188 {
'A',
CAPLOK, {0x0444, 0x0424} },
189 {
'S',
CAPLOK, {0x049b, 0x049a} },
190 {
'D',
CAPLOK, {0x0432, 0x0412} },
191 {
'F',
CAPLOK, {0x0430, 0x0410} },
192 {
'G',
CAPLOK, {0x043f, 0x041f} },
193 {
'H',
CAPLOK, {0x0440, 0x0420} },
194 {
'J',
CAPLOK, {0x043e, 0x041e} },
195 {
'K',
CAPLOK, {0x043b, 0x041b} },
196 {
'L',
CAPLOK, {0x0434, 0x0414} },
199 {
'Z',
CAPLOK, {0x044f, 0x042f} },
200 {
'X',
CAPLOK, {0x0447, 0x0427} },
201 {
'C',
CAPLOK, {0x0441, 0x0421} },
202 {
'V',
CAPLOK, {0x043c, 0x041c} },
203 {
'B',
CAPLOK, {0x0438, 0x0418} },
204 {
'N',
CAPLOK, {0x0442, 0x0422} },
205 {
'M',
CAPLOK, {0x044c, 0x042c} },
206 { VK_OEM_COMMA,
CAPLOK, {0x0431, 0x0411} },
207 { VK_OEM_PERIOD,
CAPLOK, {0x044e, 0x042e} },
210 {
VK_TAB, 0, {
'\t',
'\t' } },
211 {
VK_ADD, 0, {
'+',
'+' } },
219 {
VK_OEM_5, 0, {
'\\',
'/', 0x001c} },
220 { VK_OEM_102, 0, {
'\\',
'/', 0x001c} },
221 {
VK_BACK, 0, {
'\b',
'\b', 0x007f} },
222 {
VK_ESCAPE, 0, {0x001b, 0x001b, 0x001b} },
225 {
VK_CANCEL, 0, {0x0003, 0x0003, 0x0003} },
230 {
'2', 0, {
'2',
'\"',
WCH_NONE, 0x0000} },
231 {
'6', 0, {
'6',
':',
WCH_NONE, 0x001e} },
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[]
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_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