mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-16 06:59:44 -05:00
keep track of number of keycodes pressed
This commit is contained in:
parent
a0d2a6b445
commit
e8b810ce3e
3 changed files with 31 additions and 13 deletions
|
|
@ -44,6 +44,7 @@ struct wlr_keyboard {
|
|||
xkb_mod_index_t mod_indexes[WLR_MODIFIER_COUNT];
|
||||
|
||||
uint32_t keycodes[WLR_KEYBOARD_KEYS_CAP];
|
||||
size_t num_keycodes;
|
||||
struct {
|
||||
xkb_mod_mask_t depressed;
|
||||
xkb_mod_mask_t latched;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue