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
39 VK_OEM_MINUS, VK_OEM_PLUS,
VK_BACK,
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 },
160 { 0, 1, 2, 3, 0, 0, 4, 5 }
167 {
'B',
CAPLOK, {
'b',
'B'} },
168 {
'C',
CAPLOK, {
'c',
'C'} },
169 {
'D',
CAPLOK, {
'd',
'D'} },
170 {
'F',
CAPLOK, {
'f',
'F'} },
171 {
'G',
CAPLOK, {
'g',
'G'} },
172 {
'H',
CAPLOK, {
'h',
'H'} },
173 {
'J',
CAPLOK, {
'j',
'J'} },
174 {
'K',
CAPLOK, {
'k',
'K'} },
175 {
'L',
CAPLOK, {
'l',
'L'} },
176 {
'M',
CAPLOK, {
'm',
'M'} },
177 {
'N',
CAPLOK, {
'n',
'N'} },
178 {
'P',
CAPLOK, {
'p',
'P'} },
179 {
'Q',
CAPLOK, {
'q',
'Q'} },
180 {
'R',
CAPLOK, {
'r',
'R'} },
181 {
'S',
CAPLOK, {
's',
'S'} },
182 {
'T',
CAPLOK, {
't',
'T'} },
183 {
'V',
CAPLOK, {
'v',
'V'} },
184 {
'W',
CAPLOK, {
'w',
'W'} },
185 {
'X',
CAPLOK, {
'x',
'X'} },
186 {
'Y',
CAPLOK, {
'y',
'Y'} },
187 {
'Z',
CAPLOK, {
'z',
'Z'} },
190 {
'1', 0, {
'1',
'!'} },
191 {
'2', 0, {
'2',
'\"'} },
192 {
'3', 0, {
'3', 0xa3} },
193 {
'5', 0, {
'5',
'%'} },
194 {
'7', 0, {
'7',
'&'} },
195 {
'8', 0, {
'8',
'*'} },
196 {
'9', 0, {
'9',
'('} },
197 {
'0', 0, {
'0',
')'} },
198 { VK_OEM_PLUS ,0, {
'=',
'+'} },
200 { VK_OEM_COMMA, 0, {
',',
'<'} },
201 { VK_OEM_PERIOD, 0, {
'.',
'>'} },
205 {
VK_TAB, 0, {
'\t',
'\t'} },
206 {
VK_ADD, 0, {
'+',
'+'} },
229 {
'6', 0, {
'6',
'^',
WCH_NONE, 0x1e} },
230 { VK_OEM_MINUS, 0, {
'-',
'_',
WCH_NONE, 0x1f} },
246 {
'E',
CAPLOK, {
'e',
'E', 0x05, 0x05, 0x00e9, 0x00c9} },
247 {
'U',
CAPLOK, {
'u',
'U', 0x15, 0x15, 0x00fa, 0x00da} },
248 {
'I',
CAPLOK, {
'i',
'I', 0x09, 0x09, 0x00ed, 0x00cd} },
249 {
'O',
CAPLOK, {
'o',
'O', 0x0f, 0x0f, 0x00f3, 0x00d3} },
250 {
'A',
CAPLOK, {
'a',
'A', 0x01, 0x01, 0x00e1, 0x00c1} },
270#define vk_master(n,x) { (PVK_TO_WCHARS1)x, n, sizeof(x[0]) }
285 { 0x0e,
L"Backspace" },
290 { 0x36,
L"Right Shift" },
294 { 0x3a,
L"CAPLOK Lock" },
306 { 0x46,
L"Scroll Lock" },
319 { 0x53,
L"Num Del" },
320 { 0x54,
L"Sys Req" },
339 { 0x1c,
L"Num Enter" },
340 { 0x1d,
L"Right Ctrl" },
342 { 0x37,
L"Prnt Scrn" },
343 { 0x38,
L"Right Alt" },
344 { 0x45,
L"Num Lock" },
348 { 0x49,
L"Page Up" },
354 { 0x51,
L"Page Down" },
357 { 0x54,
L"<ReactOS>" },
359 { 0x56,
L"Left Windows" },
360 { 0x5b,
L"Right Windows" },
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[]
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_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