diff options
Diffstat (limited to 'Kernel/KeyboardDevice.cpp')
-rw-r--r-- | Kernel/KeyboardDevice.cpp | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/Kernel/KeyboardDevice.cpp b/Kernel/KeyboardDevice.cpp index 7cdaf3f6d9..8bbc8c76a1 100644 --- a/Kernel/KeyboardDevice.cpp +++ b/Kernel/KeyboardDevice.cpp @@ -50,9 +50,9 @@ static KeyCode unshifted_key_map[0x80] = Key_Alt, // 54 Key_Invalid, Key_Invalid, Key_Space, // 57 - Key_Invalid, Key_Invalid, - Key_Invalid, // 60 - Key_Invalid, Key_Invalid, Key_Invalid, Key_Invalid, Key_Invalid, Key_Invalid, Key_Invalid, Key_Invalid, Key_Invalid, + Key_Invalid, // 58 + Key_F1, Key_F2, Key_F3, Key_F4, Key_F5, Key_F6, Key_F7, Key_F8, Key_F9, Key_F10, + Key_Invalid, Key_Invalid, // 70 Key_Invalid, Key_Up, @@ -65,6 +65,13 @@ static KeyCode unshifted_key_map[0x80] = Key_Invalid, Key_Down, // 80 Key_PageDown, + Key_Invalid, + Key_Invalid, + Key_Invalid, + Key_Invalid, + Key_Invalid, + Key_F11, + Key_F12, }; static KeyCode shifted_key_map[0x100] = @@ -81,10 +88,10 @@ static KeyCode shifted_key_map[0x100] = Key_Z, Key_X, Key_C, Key_V, Key_B, Key_N, Key_M, Key_LessThan, Key_GreaterThan, Key_QuestionMark, Key_Alt, Key_Invalid, Key_Invalid, - Key_Space, - Key_Invalid, Key_Invalid, - Key_Invalid, // 60 - Key_Invalid, Key_Invalid, Key_Invalid, Key_Invalid, Key_Invalid, Key_Invalid, Key_Invalid, Key_Invalid, Key_Invalid, + Key_Space, // 57 + Key_Invalid, // 58 + Key_F1, Key_F2, Key_F3, Key_F4, Key_F5, Key_F6, Key_F7, Key_F8, Key_F9, Key_F10, + Key_Invalid, Key_Invalid, // 70 Key_Invalid, Key_Up, @@ -97,6 +104,13 @@ static KeyCode shifted_key_map[0x100] = Key_Invalid, Key_Down, // 80 Key_PageDown, + Key_Invalid, + Key_Invalid, + Key_Invalid, + Key_Invalid, + Key_Invalid, + Key_F11, + Key_F12, }; void KeyboardDevice::key_state_changed(byte raw, bool pressed) |