12#define WIN32_NO_STATUS
20#define WINAPI __stdcall
25#define ROSDATA static __declspec(allocate(".data"))
28#pragma data_seg(".data")
31#define ROSDATA static __attribute__((section(".data")))
37#define KNUMS KBDNUMPAD|KBDSPECIAL
38#define KMEXT KBDEXT|KBDMULTIVK
220 { 0x10, VK_MEDIA_PREV_TRACK |
KBDEXT },
221 { 0x19, VK_MEDIA_NEXT_TRACK |
KBDEXT },
223 { 0x20, VK_VOLUME_MUTE |
KBDEXT },
224 { 0x21, VK_LAUNCH_APP2 |
KBDEXT },
225 { 0x22, VK_MEDIA_PLAY_PAUSE |
KBDEXT },
226 { 0x24, VK_MEDIA_STOP |
KBDEXT },
227 { 0x2E, VK_VOLUME_DOWN |
KBDEXT },
228 { 0x30, VK_VOLUME_UP |
KBDEXT },
229 { 0x32, VK_BROWSER_HOME |
KBDEXT },
247 { 0x65, VK_BROWSER_SEARCH |
KBDEXT },
248 { 0x66, VK_BROWSER_FAVORITES |
KBDEXT },
249 { 0x67, VK_BROWSER_REFRESH |
KBDEXT },
250 { 0x68, VK_BROWSER_STOP |
KBDEXT },
251 { 0x69, VK_BROWSER_FORWARD |
KBDEXT },
252 { 0x6A, VK_BROWSER_BACK |
KBDEXT },
253 { 0x6B, VK_LAUNCH_APP1 |
KBDEXT },
254 { 0x6C, VK_LAUNCH_MAIL |
KBDEXT },
255 { 0x6D, VK_LAUNCH_MEDIA_SELECT |
KBDEXT },
282 {
'1', 0, {
'1',
'!'} },
284 {
'3', 0, {
'3',
'#'} },
285 {
'4', 0, {
'4',
'$'} },
286 {
'5', 0, {
'5',
'%'} },
288 {
'7', 0, {
'7',
'&'} },
289 {
'8', 0, {
'8',
'*'} },
290 {
'9', 0, {
'9',
'('} },
291 {
'0', 0, {
'0',
')'} },
295 { VK_OEM_PLUS, 0, {
'=',
'+'} },
297 {
'Q', 0, {
TAV,
'>'} },
301 { VK_OEM_COMMA, 0, {
',',
'\"'} },
302 { VK_OEM_PERIOD, 0, {
'.',
'?'} },
305 {
VK_TAB, 0, {
'\t',
'\t'} },
306 {
VK_ADD, 0, {
'+',
'+'} },
357 {
'2', 0, {
'2',
'@',
WCH_NONE, 0} },
358 {
'6', 0, {
'6',
'^',
WCH_NONE, 0x1e } },
359 { VK_OEM_MINUS, 0, {
'-',
'_',
WCH_NONE, 0x1f } },
380#define vk_master(n,x) { (PVK_TO_WCHARS1)x, n, sizeof(x[0]) }
395 { 0x0e,
L"Backspace" },
400 { 0x36,
L"Right Shift" },
404 { 0x3a,
L"CAPLOK Lock" },
416 { 0x46,
L"Scroll Lock" },
429 { 0x53,
L"Num Del" },
430 { 0x54,
L"Sys Req" },
450 { 0x1c,
L"Num Enter" },
451 { 0x1d,
L"Right Ctrl" },
453 { 0x37,
L"Prnt Scrn" },
454 { 0x38,
L"Right Alt" },
455 { 0x45,
L"Num Lock" },
459 { 0x49,
L"Page Up" },
465 { 0x51,
L"Page Down" },
468 { 0x54,
L"<ReactOS>" },
470 { 0x56,
L"Left Windows" },
471 { 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()