summaryrefslogtreecommitdiff
path: root/src/devices/IKeyboard.hpp
diff options
context:
space:
mode:
authorSungyoon Cho <sungyoon@sungyooncho.dev>2024-05-15 00:14:43 +0900
committerGitHub <noreply@github.com>2024-05-14 16:14:43 +0100
commitd0a4a0e0d8ecc0a47c0bcfbf84c090cae8cee7af (patch)
treec30bdc02ec7bd66f1f652c00d11878addacea5dc /src/devices/IKeyboard.hpp
parent1584679004435d93d5fe2dd794d2aefaa0c9574a (diff)
input: fix modifier and leds (#6062)
Diffstat (limited to 'src/devices/IKeyboard.hpp')
-rw-r--r--src/devices/IKeyboard.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/IKeyboard.hpp b/src/devices/IKeyboard.hpp
index d90550da..ec58ff5b 100644
--- a/src/devices/IKeyboard.hpp
+++ b/src/devices/IKeyboard.hpp
@@ -42,6 +42,7 @@ class IKeyboard : public IHID {
void updateXKBTranslationState(xkb_keymap* const keymap = nullptr);
std::string getActiveLayout();
void updateLEDs();
+ void updateLEDs(uint32_t leds);
bool active = false;
bool enabled = true;