diff options
author | xiliuya <xiliuya@163.com> | 2022-11-19 14:52:31 +0800 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-12-14 17:51:06 +0100 |
commit | 7f6d646e0aa78bd796c6a106b77951b4be61935a (patch) | |
tree | ea0b164056f03e6b3b64a9acf24ea55ba4659957 /include/wlr | |
parent | caaea01bf6a39198eb26ee0b95de12f68eca72d8 (diff) |
keyboard: only update LEDs when changed
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_keyboard.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_keyboard.h b/include/wlr/types/wlr_keyboard.h index d53d3c30..b1e01c4d 100644 --- a/include/wlr/types/wlr_keyboard.h +++ b/include/wlr/types/wlr_keyboard.h @@ -62,6 +62,7 @@ struct wlr_keyboard { xkb_led_index_t led_indexes[WLR_LED_COUNT]; xkb_mod_index_t mod_indexes[WLR_MODIFIER_COUNT]; + uint32_t leds; uint32_t keycodes[WLR_KEYBOARD_KEYS_CAP]; size_t num_keycodes; struct wlr_keyboard_modifiers modifiers; |