summaryrefslogtreecommitdiff
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorBrian Ashworth <[email protected]>2018-10-18 13:13:40 -0400
committerBrian Ashworth <[email protected]>2018-10-18 13:42:01 -0400
commit2e637b7368de565a85f77fbd03408f33b763dd7b (patch)
tree00f3a082111e02dc2d7e7e54af60db4e58ebfc26 /include/sway/config.h
parent30dbb8eba053fda2e17678feb6cebffc424e1e57 (diff)
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 {
struct sway_binding {
enum binding_input_type type;
int order;
+ char *input;
uint32_t flags;
list_t *keys; // sorted in ascending order
uint32_t modifiers;