From e8b810ce3e5cd4a10d86c77eb7b559358b4af6c3 Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Wed, 27 Dec 2017 18:58:43 -0500 Subject: keep track of number of keycodes pressed --- include/wlr/types/wlr_keyboard.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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; -- cgit v1.2.3