diff options
author | emersion <contact@emersion.fr> | 2017-10-03 08:40:10 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-10-03 08:46:11 +0200 |
commit | d3d9aca40cfccf7f3d03a3111f732c884aab8766 (patch) | |
tree | adebad0e5cbac1beba9a0de6a9873fca8bdc0b03 /include | |
parent | 3a8fdebaaa819f7b27b51e507cccff638b4939ae (diff) |
Add modifiers support in wayland backend, parse modifiers in rootston config
Diffstat (limited to 'include')
-rw-r--r-- | include/rootston/config.h | 1 | ||||
-rw-r--r-- | include/wlr/interfaces/wlr_keyboard.h | 3 |
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 |