summaryrefslogtreecommitdiff
path: root/Kernel/Devices
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-01-30 21:35:54 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-01 09:54:32 +0100
commita2c21a55e17189b61b416688cfe072c0856cba00 (patch)
treee47fc163ada6498043ef096037e53cfad4a8befe /Kernel/Devices
parentd47ed358015a83523e1895ec5df21f9226f8ad0c (diff)
downloadserenity-a2c21a55e17189b61b416688cfe072c0856cba00.zip
Kernel+LibKeyboard: Enable querying the current keymap
Diffstat (limited to 'Kernel/Devices')
-rw-r--r--Kernel/Devices/KeyboardDevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Devices/KeyboardDevice.h b/Kernel/Devices/KeyboardDevice.h
index 3bd98c9619..d358f70bf3 100644
--- a/Kernel/Devices/KeyboardDevice.h
+++ b/Kernel/Devices/KeyboardDevice.h
@@ -56,6 +56,7 @@ public:
void set_client(KeyboardClient* client) { m_client = client; }
void set_maps(const Keyboard::CharacterMapData& character_map, const String& character_map_name);
+ const Keyboard::CharacterMapData& character_maps() const { return m_character_map.character_map_data(); }
const String keymap_name() { return m_character_map.character_map_name(); }