Kernel: Correct mapping of PS/2 keyboard exclamation point
Pressing Shift+1 resulted in `Key_Escape` being sent as the event's key.
This commit is contained in:
parent
055f78f528
commit
f5dec55fd6
Notes:
sideshowbarker
2024-07-17 21:26:19 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/f5dec55fd6 Pull-request: https://github.com/SerenityOS/serenity/pull/22755 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/supercomputer7 ✅
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ static constexpr KeyCodeEntry unshifted_scan_code_set1_key_map[0x80] = {
|
|||
|
||||
// clang-format off
|
||||
static constexpr KeyCodeEntry shifted_scan_code_set1_key_map[0x100] = {
|
||||
{ Key_Invalid, 0xFF }, { Key_Escape, 1 }, { Key_Escape, 2 }, { Key_AtSign, 3 },
|
||||
{ Key_Invalid, 0xFF }, { Key_Escape, 1 }, { Key_ExclamationPoint, 2 }, { Key_AtSign, 3 },
|
||||
{ Key_Hashtag, 4 }, { Key_Dollar, 5 }, { Key_Percent, 6 }, { Key_Circumflex, 7 },
|
||||
{ Key_Ampersand, 8 }, { Key_Asterisk, 9 }, { Key_LeftParen, 0x0A }, { Key_RightParen, 0x0B },
|
||||
{ Key_Underscore, 0xC }, { Key_Plus, 0x4E }, { Key_Backspace, 0x0E }, { Key_Tab, 0x0F },
|
||||
|
|
Loading…
Add table
Reference in a new issue