summaryrefslogtreecommitdiff
path: root/Kernel/Devices
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-03-11 18:50:23 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-11 18:55:16 +0100
commit38f11cc1ba31e13e0f748781a654a98eb3a45d19 (patch)
tree9c47054bc9ef285e38a30f2e3d634cf9d3bb3ef8 /Kernel/Devices
parent822d7da6cc41606a4303f53f1f01aada9153969f (diff)
downloadserenity-38f11cc1ba31e13e0f748781a654a98eb3a45d19.zip
Everywhere: Rename "logo" key to "super" key
This seems to be the most common way to refer to this key, so let's call it what people actually call it.
Diffstat (limited to 'Kernel/Devices')
-rw-r--r--Kernel/Devices/KeyboardDevice.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Devices/KeyboardDevice.cpp b/Kernel/Devices/KeyboardDevice.cpp
index 2d0bf5e0bb..a091d3a9aa 100644
--- a/Kernel/Devices/KeyboardDevice.cpp
+++ b/Kernel/Devices/KeyboardDevice.cpp
@@ -131,7 +131,7 @@ static const KeyCode unshifted_key_map[0x80] = {
Key_F12,
Key_Invalid,
Key_Invalid,
- Key_Logo,
+ Key_Super,
Key_Invalid,
Key_Menu,
};
@@ -228,7 +228,7 @@ static const KeyCode shifted_key_map[0x100] = {
Key_F12,
Key_Invalid,
Key_Invalid,
- Key_Logo,
+ Key_Super,
Key_Invalid,
Key_Menu,
};
@@ -312,7 +312,7 @@ void KeyboardDevice::irq_handle_byte_read(u8 byte)
update_modifier(Mod_Ctrl, pressed);
break;
case 0x5b:
- update_modifier(Mod_Logo, pressed);
+ update_modifier(Mod_Super, pressed);
break;
case 0x2a:
case 0x36: