1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:27:44 +00:00

Kernel: Handle 'Menu' key on PS/2 keyboard

This commit is contained in:
Jean-Baptiste Boric 2021-02-13 15:22:35 +01:00 committed by Andreas Kling
parent e616cb35ba
commit 0d22ec9d32
2 changed files with 6 additions and 1 deletions

View file

@ -132,6 +132,8 @@ static const KeyCode unshifted_key_map[0x80] = {
Key_Invalid,
Key_Invalid,
Key_Logo,
Key_Invalid,
Key_Menu,
};
static const KeyCode shifted_key_map[0x100] = {
@ -227,6 +229,8 @@ static const KeyCode shifted_key_map[0x100] = {
Key_Invalid,
Key_Invalid,
Key_Logo,
Key_Invalid,
Key_Menu,
};
static const KeyCode numpad_key_map[13] = { Key_7, Key_8, Key_9, Key_Invalid, Key_4, Key_5, Key_6, Key_Invalid, Key_1, Key_2, Key_3, Key_0, Key_Comma };