aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index 70b21d4b..6ad46d83 100644
--- a/wayland.h
+++ b/wayland.h
@@ -84,9 +84,12 @@ enum binding_action {
BIND_ACTION_COUNT,
};
+typedef tll(xkb_keycode_t) xkb_keycode_list_t;
+
struct key_binding {
xkb_mod_mask_t mods;
xkb_keysym_t sym;
+ xkb_keycode_list_t key_codes;
enum binding_action action;
};
typedef tll(struct key_binding) key_binding_list_t;