aboutsummaryrefslogtreecommitdiffstats
path: root/kbd.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbd.h')
-rw-r--r--kbd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/kbd.h b/kbd.h
index 10aa12d..ad391f8 100644
--- a/kbd.h
+++ b/kbd.h
@@ -2,9 +2,16 @@
#include <inttypes.h>
#include <linux/input.h>
+#include <libudev.h>
+#include <libinput.h>
+
#define KEY_MOD_SHIFT (1 << 0)
#define KEY_MOD_CTRL (1 << 1)
+extern int libinput_devcount;
+extern int libinput_deverror;
+extern const struct libinput_interface libinput_interface;
+
void kbd_init(int use_libinput, dev_t gfx);
int kbd_wait(int timeout);
int kbd_read(char *buf, uint32_t len,