aboutsummaryrefslogtreecommitdiff
path: root/input.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-03-18 14:30:14 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-03-18 14:30:14 +0000
commit04191564946d3ba6c1c49e5041e4bd0cda819043 (patch)
treed1160d0547e5f9d472ab5ae8281ceae1d2530c89 /input.h
parentinput: bindings: don't match raw key code alone - mods must also match (diff)
search: replace hard-coded key bindings with "user configurable" ones
They aren't really user configurable. At least not yet. However, with this, we now handle raw key codes just like the normal key bindings. Meaning, e.g. ctrl+g, ctrl+a, ctrl+e etc now works while searching with e.g. a russian layout.
Diffstat (limited to 'input.h')
-rw-r--r--input.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/input.h b/input.h
index 9c274964..553a6249 100644
--- a/input.h
+++ b/input.h
@@ -10,9 +10,5 @@ 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);
+bool input_parse_key_binding(struct xkb_keymap *keymap, const char *combos,
+ key_binding_list_t *bindings);