aboutsummaryrefslogtreecommitdiff
path: root/input.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-06-19 08:04:47 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-06-19 08:04:47 +0000
commit71dde121e63177b0fc1bc2d6897e63e533d666fc (patch)
treefae25ca409f8edce97b5ab14dc037343e0fb74c1 /input.h
parentcsi: CSI log messages are now single line (diff)
wip: initial input handling
Diffstat (limited to 'input.h')
-rw-r--r--input.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/input.h b/input.h
new file mode 100644
index 00000000..a191ae36
--- /dev/null
+++ b/input.h
@@ -0,0 +1,9 @@
+#pragma once
+
+#include <wayland-client.h>
+
+#include "terminal.h"
+
+extern const struct wl_keyboard_listener keyboard_listener;
+
+void input_repeat(struct terminal *term, uint32_t key);