Merge pull request #18845 from bruvzg/fix_osx_num_scancodes

[macOS] Fix numeric keys scan-codes remapping.
This commit is contained in:
Max Hilbrunner 2018-05-13 23:20:19 +02:00 committed by GitHub
commit 71abd73c00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -850,16 +850,16 @@ struct _KeyCodeMap {
static const _KeyCodeMap _keycodes[55] = {
{ '`', KEY_QUOTELEFT },
{ '~', KEY_ASCIITILDE },
{ '0', KEY_KP_0 },
{ '1', KEY_KP_1 },
{ '2', KEY_KP_2 },
{ '3', KEY_KP_3 },
{ '4', KEY_KP_4 },
{ '5', KEY_KP_5 },
{ '6', KEY_KP_6 },
{ '7', KEY_KP_7 },
{ '8', KEY_KP_8 },
{ '9', KEY_KP_9 },
{ '0', KEY_0 },
{ '1', KEY_1 },
{ '2', KEY_2 },
{ '3', KEY_3 },
{ '4', KEY_4 },
{ '5', KEY_5 },
{ '6', KEY_6 },
{ '7', KEY_7 },
{ '8', KEY_8 },
{ '9', KEY_9 },
{ '-', KEY_MINUS },
{ '_', KEY_UNDERSCORE },
{ '=', KEY_EQUAL },