aboutsummaryrefslogtreecommitdiff
path: root/input.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-03-08 14:28:47 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-03-08 14:28:47 +0000
commit0d188895c3e88f591aa47f7a5c272ad959e5a40d (patch)
treeb93ee2b188e8b86ad090df08a2817abd928400e4 /input.h
parentinput: convert the rest of the normal key bindings to configurable bindings (diff)
search: add support for user configurable key bindings
No default bindings defined yet, though.
Diffstat (limited to 'input.h')
-rw-r--r--input.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/input.h b/input.h
index 2483389a..5507a269 100644
--- a/input.h
+++ b/input.h
@@ -1,5 +1,6 @@
#pragma once
+#include <stdint.h>
#include <wayland-client.h>
#include "wayland.h"
@@ -8,3 +9,5 @@ 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);
+void input_execute_binding(
+ struct terminal *term, enum binding_action action, uint32_t serial);