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,
105 { 0x10, VK_MEDIA_PREV_TRACK |
KBDEXT },
106 { 0x19, VK_MEDIA_NEXT_TRACK |
KBDEXT },
108 { 0x20, VK_VOLUME_MUTE |
KBDEXT },
109 { 0x21, VK_LAUNCH_APP2 |
KBDEXT },
110 { 0x22, VK_MEDIA_PLAY_PAUSE |
KBDEXT },
111 { 0x24, VK_MEDIA_STOP |
KBDEXT },
112 { 0x2E, VK_VOLUME_DOWN |
KBDEXT },
113 { 0x30, VK_VOLUME_UP |
KBDEXT },
114 { 0x32, VK_BROWSER_HOME |
KBDEXT },
132 { 0x65, VK_BROWSER_SEARCH |
KBDEXT },
133 { 0x66, VK_BROWSER_FAVORITES |
KBDEXT },
134 { 0x67, VK_BROWSER_REFRESH |
KBDEXT },
135 { 0x68, VK_BROWSER_STOP |
KBDEXT },
136 { 0x69, VK_BROWSER_FORWARD |
KBDEXT },
137 { 0x6A, VK_BROWSER_BACK |
KBDEXT },
138 { 0x6B, VK_LAUNCH_APP1 |
KBDEXT },
139 { 0x6C, VK_LAUNCH_MAIL |
KBDEXT },
140 { 0x6D, VK_LAUNCH_MEDIA_SELECT |
KBDEXT },
167 {
'B',
CAPLOK, {
'b',
'B'} },
168 {
'D',
CAPLOK, {
'd',
'D'} },
169 {
'F',
CAPLOK, {
'f',
'F'} },
170 {
'G',
CAPLOK, {
'g',
'G'} },
171 {
'H',
CAPLOK, {
'h',
'H'} },
172 {
'I',
CAPLOK, {
'i',
'I'} },
173 {
'J',
CAPLOK, {
'j',
'J'} },
174 {
'K',
CAPLOK, {
'k',
'K'} },
175 {
'M',
CAPLOK, {
'm',
'M'} },
176 {
'P',
CAPLOK, {
'p',
'P'} },
177 {
'Q',
CAPLOK, {
'q',
'Q'} },
178 {
'R',
CAPLOK, {
'r',
'R'} },
179 {
'T',
CAPLOK, {
't',
'T'} },
180 {
'U',
CAPLOK, {
'u',
'U'} },
181 {
'V',
CAPLOK, {
'v',
'V'} },
182 {
'W',
CAPLOK, {
'w',
'W'} },
183 {
'Y',
CAPLOK, {
'y',
'Y'} },
186 {
'1', 0, {
'1',
'!'} },
188 {
'3', 0, {
'3',
'#'} },
189 {
'4', 0, {
'4',
'$'} },
190 {
'5', 0, {
'5',
'%'} },
192 {
'7', 0, {
'7',
'&'} },
193 {
'8', 0, {
'8',
'*'} },
194 {
'9', 0, {
'9',
'('} },
195 {
'0', 0, {
'0',
')'} },
199 { VK_OEM_PLUS, 0, {
'=',
'+'} },
204 { VK_OEM_COMMA, 0, {
',',
'<'} },
205 { VK_OEM_PERIOD, 0, {
'.',
'>'} },
208 {
VK_TAB, 0, {
'\t',
'\t'} },
209 {
VK_ADD, 0, {
'+',
'+'} },
272#define vk_master(n,x) { (PVK_TO_WCHARS1)x, n, sizeof(x[0]) }
286 { 0x0e,
L"Backspace" },
291 { 0x36,
L"Right Shift" },
295 { 0x3a,
L"Caps Lock" },
307 { 0x46,
L"Scroll Lock" },
320 { 0x53,
L"Num Del" },
321 { 0x54,
L"Sys Req" },
340 { 0x1c,
L"Num Enter" },
341 { 0x1d,
L"Right Ctrl" },
343 { 0x37,
L"Prnt Scrn" },
344 { 0x38,
L"Right Alt" },
345 { 0x45,
L"Num Lock" },
349 { 0x49,
L"Page Up" },
355 { 0x51,
L"Page Down" },
358 { 0x54,
L"<ReactOS>" },
360 { 0x56,
L"Left Windows" },
361 { 0x5b,
L"Right Windows" },
370#define DEADTRANS(ch, accent, comp, flags) MAKELONG(ch, accent), comp, flags
PKBDTABLES WINAPI KbdLayerDescriptor()
#define DEADTRANS(ch, accent, comp, flags)
ROSDATA DEADKEY dead_key[]
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 DEADKEY_LPWSTR dead_key_names[]
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