mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-16 05:34:00 -04:00
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
This commit is contained in:
parent
823a7c0318
commit
544c1b1976
6 changed files with 207 additions and 31 deletions
3
input.h
3
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue