aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-10-18 13:13:40 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-10-18 13:42:01 -0400
commit2e637b7368de565a85f77fbd03408f33b763dd7b (patch)
tree00f3a082111e02dc2d7e7e54af60db4e58ebfc26 /include/sway/config.h
parentMerge pull request #2874 from ianyfan/swaybar (diff)
downloadsway-2e637b7368de565a85f77fbd03408f33b763dd7b.tar.gz
sway-2e637b7368de565a85f77fbd03408f33b763dd7b.tar.zst
sway-2e637b7368de565a85f77fbd03408f33b763dd7b.zip
cmd_bind{sym,code}: Implement per-device bindings
bindsym --input-device=<identifier> ... bindcode --input-device=<identifier> ...
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index be5a00b5..fef3a60a 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -43,6 +43,7 @@ enum binding_flags {
43struct sway_binding { 43struct sway_binding {
44 enum binding_input_type type; 44 enum binding_input_type type;
45 int order; 45 int order;
46 char *input;
46 uint32_t flags; 47 uint32_t flags;
47 list_t *keys; // sorted in ascending order 48 list_t *keys; // sorted in ascending order
48 uint32_t modifiers; 49 uint32_t modifiers;