aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-12-27 16:14:06 -0800
committerGitHub <noreply@github.com>2017-12-27 16:14:06 -0800
commit9c163b7d38f859df0f6b21d04ff4267df74dd290 (patch)
tree8afb6ab50e030703abd9ab3593dcabce8350e9bf /include
parenteeb7cd8ed74d17b04623e453826c66023956eb12 (diff)
parente8b810ce3e5cd4a10d86c77eb7b559358b4af6c3 (diff)
Merge pull request #531 from acrisci/keyboard-num-keycodes
wlr-keyboard: keep track of number of keycodes pressed
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_keyboard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_keyboard.h b/include/wlr/types/wlr_keyboard.h
index 450cd473..d32d6e96 100644
--- a/include/wlr/types/wlr_keyboard.h
+++ b/include/wlr/types/wlr_keyboard.h
@@ -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;