aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/rootston/config.h1
-rw-r--r--include/wlr/interfaces/wlr_keyboard.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/include/rootston/config.h b/include/rootston/config.h
index ef101f2d..ece11829 100644
--- a/include/rootston/config.h
+++ b/include/rootston/config.h
@@ -19,6 +19,7 @@ struct device_config {
};
struct binding_config {
+ uint32_t modifiers;
xkb_keysym_t *keysyms;
size_t keysyms_len;
char *command;
diff --git a/include/wlr/interfaces/wlr_keyboard.h b/include/wlr/interfaces/wlr_keyboard.h
index 78c1f753..9755267a 100644
--- a/include/wlr/interfaces/wlr_keyboard.h
+++ b/include/wlr/interfaces/wlr_keyboard.h
@@ -13,5 +13,8 @@ void wlr_keyboard_init(struct wlr_keyboard *keyboard, struct wlr_keyboard_impl *
void wlr_keyboard_destroy(struct wlr_keyboard *keyboard);
void wlr_keyboard_update_state(struct wlr_keyboard *keyboard,
struct wlr_event_keyboard_key *event);
+void wlr_keyboard_update_modifiers(struct wlr_keyboard *keyboard,
+ uint32_t mods_depressed, uint32_t mods_latched, uint32_t mods_locked,
+ uint32_t group);
#endif