aboutsummaryrefslogtreecommitdiff
path: root/input.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-08-09 20:40:53 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-08-13 16:47:19 +0000
commit544c1b1976544085a2f27497c5c516bf1d9edfa3 (patch)
tree68df5e3b1c105d38c9a7bc8b9d5ea92b09b8b58c /input.h
parentrender: oops... swprintf() needs to number of *chars*, not *bytes* (diff)
config: wip: add support for modifiers in mouse bindings
Mouse bindings can now include modifiers. They are specified in pretty much the same way as in keyboard bindings: Control+BTN_LEFT
Diffstat (limited to 'input.h')
-rw-r--r--input.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/input.h b/input.h
index c1c14f7c..37ad8452 100644
--- a/input.h
+++ b/input.h
@@ -12,3 +12,6 @@ void input_repeat(struct seat *seat, uint32_t key);
bool input_parse_key_binding(struct xkb_keymap *keymap, const char *combos,
key_binding_list_t *bindings);
+bool input_parse_mouse_binding(struct xkb_keymap *keymap, const char *combos,
+ enum bind_action_normal action,
+ mouse_binding_list_t *bindings);