input: fix modifier and leds (#6062)

This commit is contained in:
Sungyoon Cho 2024-05-15 00:14:43 +09:00 committed by GitHub
parent 1584679004
commit d0a4a0e0d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 36 additions and 8 deletions

View file

@ -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;