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 },
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 {
'3', 0, {
'3',
'#'} },
197 {
'4', 0, {
'4',
'$'} },
198 {
'5', 0, {
'5',
'%'} },
200 {
'7', 0, {
'7',
'&'} },
201 {
'8', 0, {
'8',
'*'} },
202 {
'9', 0, {
'9',
'('} },
203 {
'0', 0, {
'0',
')'} },
207 { VK_OEM_PLUS ,0, {
'=',
'+'} },
211 { VK_OEM_COMMA ,0, {
',',
'<'} },
212 { VK_OEM_PERIOD ,0, {
'.',
'>'} },
215 {
VK_TAB ,0, {
'\t',
'\t'} },
216 {
VK_ADD ,0, {
'+',
'+'} },
231 { VK_OEM_102,0,{
'\\',
'|', 0x1c } },
239 {
'2', 0, {
'2',
'@',
WCH_NONE, 0} },
240 {
'6', 0, {
'6',
'^',
WCH_NONE, 0x1e } },
241 { VK_OEM_MINUS, 0, {
'-',
'_',
WCH_NONE, 0x1f } },
261#define vk_master(n,x) { (PVK_TO_WCHARS1)x, n, sizeof(x[0]) }
274 { 0x0e,
L"Backspace" },
279 { 0x36,
L"Right Shift" },
283 { 0x3a,
L"CAPLOK Lock" },
295 { 0x46,
L"Scroll Lock" },
308 { 0x53,
L"Num Del" },
309 { 0x54,
L"Sys Req" },
328 { 0x1c,
L"Num Enter" },
329 { 0x1d,
L"Right Ctrl" },
331 { 0x37,
L"Prnt Scrn" },
332 { 0x38,
L"Right Alt" },
333 { 0x45,
L"Num Lock" },
337 { 0x49,
L"Page Up" },
343 { 0x51,
L"Page Down" },
346 { 0x54,
L"<ReactOS>" },
348 { 0x56,
L"Left Windows" },
349 { 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()