diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-08-09 20:40:53 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-08-13 16:47:19 +0000 |
| commit | 544c1b1976544085a2f27497c5c516bf1d9edfa3 (patch) | |
| tree | 68df5e3b1c105d38c9a7bc8b9d5ea92b09b8b58c /input.h | |
| parent | render: 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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |
