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,
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 },
166 {
'1', 0, {
'1',
'!' } },
167 {
'2', 0, {
'2',
'\"' } },
168 {
'3', 0, {
'3',
'#' } },
169 {
'4', 0, {
'4',
'$' } },
170 {
'5', 0, {
'5',
'%' } },
171 {
'7', 0, {
'7',
'/' } },
172 {
'8', 0, {
'8',
'(' } },
173 {
'9', 0, {
'9',
')' } },
174 {
'0', 0, {
'0',
'=' } },
176 {
'W',
CAPLOK, {
'w',
'W' } },
177 {
'E',
CAPLOK, {
'e',
'E' } },
178 {
'R',
CAPLOK, {
'r',
'R' } },
179 {
'T',
CAPLOK, {
't',
'T' } },
180 {
'Y',
CAPLOK, {
'y',
'Y' } },
181 {
'U',
CAPLOK, {
'u',
'U' } },
182 {
'I',
CAPLOK, {
'i',
'I' } },
183 {
'O',
CAPLOK, {
'o',
'O' } },
184 {
'P',
CAPLOK, {
'p',
'P' } },
186 { 0xff, 0, {0x00b4, 0x00a8} },
187 {
'A',
CAPLOK, {
'a',
'A' } },
188 {
'S',
CAPLOK, {
's',
'S' } },
189 {
'D',
CAPLOK, {
'd',
'D' } },
190 {
'F',
CAPLOK, {
'f',
'F' } },
191 {
'G',
CAPLOK, {
'g',
'G' } },
192 {
'H',
CAPLOK, {
'h',
'H' } },
193 {
'J',
CAPLOK, {
'j',
'J' } },
194 {
'K',
CAPLOK, {
'k',
'K' } },
195 {
'L',
CAPLOK, {
'l',
'L' } },
197 {
'Z',
CAPLOK, {
'z',
'Z' } },
198 {
'X',
CAPLOK, {
'x',
'X' } },
199 {
'C',
CAPLOK, {
'c',
'C' } },
200 {
'V',
CAPLOK, {
'v',
'V' } },
201 {
'B',
CAPLOK, {
'b',
'B' } },
202 {
'N',
CAPLOK, {
'n',
'N' } },
203 {
'M',
CAPLOK, {
'm',
'M' } },
204 { VK_OEM_COMMA, 0, {
',',
';' } },
205 { VK_OEM_PERIOD,0, {
'.',
':' } },
207 {
VK_TAB, 0, {
'\t',
'\t' } },
208 {
VK_ADD, 0, {
'+',
'+' } },
216 { VK_OEM_MINUS, 0, {
'-',
'_', 0x001f} },
217 { VK_OEM_102, 0, {
'<',
'>', 0x001c} },
218 {
VK_BACK, 0, {
'\b',
'\b', 0x007f} },
219 {
VK_ESCAPE, 0, {0x001b, 0x001b, 0x001b} },
222 {
VK_CANCEL, 0, {0x0003, 0x0003, 0x0003} },
228 {
VK_OEM_4, 0, {
'\'',
'?', 0x001c,
'\\' } },
230 { VK_OEM_PLUS, 0, {
'+',
'*',
WCH_NONE,
'~' } },
257#define vk_master(n,x) { (PVK_TO_WCHARS1)x, n, sizeof(x[0]) }
270 { 0x0e,
L"Backspace" },
275 { 0x36,
L"Right Shift" },
279 { 0x3a,
L"CAPLOK Lock" },
291 { 0x46,
L"Scroll Lock" },
304 { 0x53,
L"Num Del" },
305 { 0x54,
L"Sys Req" },
324 { 0x1c,
L"Num Enter" },
325 { 0x1d,
L"Right Control" },
327 { 0x37,
L"Prnt Scrn" },
328 { 0x38,
L"Right Alt" },
329 { 0x45,
L"Num Lock" },
333 { 0x49,
L"Page Up" },
339 { 0x51,
L"Page Down" },
342 { 0x54,
L"<ReactOS>" },
344 { 0x5b,
L"Left <ReactOS>" },
345 { 0x5c,
L"Right <ReactOS>" },
346 { 0x5d,
L"Application" },
354 L"\x00a8" L"DIERERIS",
358#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[]
INT WINAPI DllMain(PVOID hinstDll, ULONG dwReason, PVOID reserved)
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_BIT modifier_keys[]
ROSDATA VSC_VK extcode1_to_vk[]
ROSDATA KBDTABLES keyboard_layout_table