From 04191564946d3ba6c1c49e5041e4bd0cda819043 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 18 Mar 2020 15:30:14 +0100 Subject: 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. --- input.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'input.h') 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); -- cgit v1.3