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

Kernel+LibKeyboard: Enable querying the current keymap

This commit is contained in:
Ben Wiederhake 2021-01-30 21:35:54 +01:00 committed by Andreas Kling
parent d47ed35801
commit a2c21a55e1
6 changed files with 46 additions and 2 deletions

View file

@ -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(); }