12#define WIN32_NO_STATUS
19#define ROSDATA static __declspec(allocate(".data"))
22#pragma data_seg(".data")
25#define ROSDATA static __attribute__((section(".data")))
31#define KNUMS KBDNUMPAD|KBDSPECIAL
32#define KMEXT KBDEXT|KBDMULTIVK
41 VK_OEM_MINUS, VK_OEM_PLUS,
VK_BACK,
58 '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 },
168 {
'A',
CAPLOK, {
'a',
'A'} },
169 {
'B',
CAPLOK, {
'b',
'B'} },
170 {
'C',
CAPLOK, {
'c',
'C'} },
171 {
'D',
CAPLOK, {
'd',
'D'} },
172 {
'F',
CAPLOK, {
'f',
'F'} },
173 {
'G',
CAPLOK, {
'g',
'G'} },
174 {
'H',
CAPLOK, {
'h',
'H'} },
175 {
'I',
CAPLOK, {
'i',
'I'} },
176 {
'J',
CAPLOK, {
'j',
'J'} },
177 {
'K',
CAPLOK, {
'k',
'K'} },
178 {
'L',
CAPLOK, {
'l',
'L'} },
179 {
'M',
CAPLOK, {
'm',
'M'} },
180 {
'N',
CAPLOK, {
'n',
'N'} },
181 {
'O',
CAPLOK, {
'o',
'O'} },
182 {
'P',
CAPLOK, {
'p',
'P'} },
183 {
'Q',
CAPLOK, {
'q',
'Q'} },
184 {
'R',
CAPLOK, {
'r',
'R'} },
185 {
'S',
CAPLOK, {
's',
'S'} },
186 {
'T',
CAPLOK, {
't',
'T'} },
187 {
'U',
CAPLOK, {
'u',
'U'} },
188 {
'V',
CAPLOK, {
'v',
'V'} },
189 {
'W',
CAPLOK, {
'w',
'W'} },
190 {
'X',
CAPLOK, {
'x',
'X'} },
191 {
'Y',
CAPLOK, {
'y',
'Y'} },
192 {
'Z',
CAPLOK, {
'z',
'Z'} },
198 { VK_OEM_MINUS, 0, {
'-',
'_'} },
199 { VK_OEM_COMMA, 0, {
',',
'<'} },
200 { VK_OEM_PERIOD, 0, {
'.',
'>'} },
203 {
VK_TAB, 0, {
'\t',
'\t'} },
204 {
VK_ADD, 0, {
'+',
'+'} },
215 {
VK_OEM_5, 0, {
'\\',
'|', 0x1c } },
218 { VK_OEM_102, 0, {0x5c, 0x2f, 0x1c} },
223 {
'9', 0, {
'9',
'(',
WCH_NONE,
'9'} },
224 {
'0', 0, {
'0',
')',
WCH_NONE,
'0'} },
230 {
'1',
CAPLOK, {0x105, 0x104, 0x01,
'1',
'!'} },
231 {
'2',
CAPLOK, {0x10d, 0x10c, 0x02,
'2',
'@'} },
232 {
'3',
CAPLOK, {0x119, 0x118, 0x03,
'3',
'#'} },
258#define vk_master(n,x) { (PVK_TO_WCHARS1)x, n, sizeof(x[0]) }
272 { 0x0e,
L"Backspace" },
277 { 0x36,
L"Right Shift" },
281 { 0x3a,
L"CAPLOK Lock" },
293 { 0x46,
L"Scroll Lock" },
306 { 0x53,
L"Num Del" },
307 { 0x54,
L"Sys Req" },
326 { 0x1c,
L"Num Enter" },
327 { 0x1d,
L"Right Ctrl" },
329 { 0x37,
L"Prnt Scrn" },
330 { 0x38,
L"Right Alt" },
331 { 0x45,
L"Num Lock" },
335 { 0x49,
L"Page Up" },
341 { 0x51,
L"Page Down" },
344 { 0x54,
L"<ReactOS>" },
346 { 0x56,
L"Left ReactOS" },
347 { 0x5b,
L"Right ReactOS" },
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_BIT modifier_keys[]
ROSDATA VSC_VK extcode1_to_vk[]
ROSDATA KBDTABLES keyboard_layout_table