Improved Win32 keymap.

This commit is contained in:
Jamie Greunbaum 2024-09-18 23:50:27 -04:00
parent 02121b934d
commit b18d1a3140

View File

@ -38,21 +38,21 @@ const uint16_t asciiToWin32[0x80] = {
0x1E, 0x1E,
0x1F, 0x1F,
VK_SPACE, VK_SPACE,
'!', '1',
'"', VK_OEM_7,
'#', '3',
'$', '4',
'%', '5',
'&', '7',
'\'', VK_OEM_7,
'(', '9',
')', '0',
'*', '8',
'+', VK_OEM_PLUS,
',', VK_OEM_COMMA,
'-', VK_OEM_MINUS,
'.', VK_OEM_PERIOD,
'/', VK_OEM_2,
'0', '0',
'1', '1',
'2', '2',
@ -63,13 +63,13 @@ const uint16_t asciiToWin32[0x80] = {
'7', '7',
'8', '8',
'9', '9',
':', VK_OEM_1,
';', VK_OEM_1,
'<', VK_OEM_COMMA,
'=', VK_OEM_PLUS,
'>', VK_OEM_PERIOD,
'?', VK_OEM_2,
'@', '2',
'A', 'A',
'B', 'B',
'C', 'C',
@ -96,12 +96,12 @@ const uint16_t asciiToWin32[0x80] = {
'X', 'X',
'Y', 'Y',
'Z', 'Z',
'[', VK_OEM_4,
'\\', VK_OEM_5,
']', VK_OEM_6,
'^', '6',
'_', VK_OEM_MINUS,
'`', VK_OEM_3,
0x61, 0x61,
0x62, 0x62,
0x63, 0x63,
@ -128,10 +128,10 @@ const uint16_t asciiToWin32[0x80] = {
0x78, 0x78,
0x79, 0x79,
0x7A, 0x7A,
'{', VK_OEM_4,
'|', VK_OEM_5,
'}', VK_OEM_6,
'~', VK_OEM_3,
0x7F, 0x7F,
}; };