diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-03-12 16:26:02 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-03-12 16:26:02 +0000 |
| commit | 47fa91e02bd3ed9a4d9d988f1c05c1662a4991ba (patch) | |
| tree | 5300d4dd013e2fec43ee2dad809a8eb57108cde5 /input.h | |
| parent | quirks: weston_csd_{on,off}: don't do anything in fullscreen mode (diff) | |
| parent | doc/foot.5: mention that *all* actions can be used in mouse bindings (diff) | |
Merge branch 'bindings'
Diffstat (limited to 'input.h')
| -rw-r--r-- | input.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,5 +1,6 @@ #pragma once +#include <stdint.h> #include <wayland-client.h> #include "wayland.h" @@ -8,3 +9,10 @@ extern const struct wl_keyboard_listener keyboard_listener; extern const struct wl_pointer_listener pointer_listener; void input_repeat(struct wayland *wayl, uint32_t key); + +bool input_parse_key_binding_for_action( + struct xkb_keymap *keymap, enum binding_action action, + const char *combos, key_binding_list_t *bindings); + +void input_execute_binding( + struct terminal *term, enum binding_action action, uint32_t serial); |
