From 544c1b1976544085a2f27497c5c516bf1d9edfa3 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 9 Aug 2020 22:40:53 +0200 Subject: 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 --- input.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'input.h') 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); -- cgit v1.3