aboutsummaryrefslogtreecommitdiffstats
path: root/kbd.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-02-01 18:16:45 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-02-01 18:16:45 +0100
commit60fa59dcfba595feba1f17bb12fb4f44f96f7c16 (patch)
tree9af3c47da2f9840088786c1d162e210f01ef2093 /kbd.h
parent0e322a1ab05d5a2bfd35a01592b6bb2303c1cd97 (diff)
downloadfbida-60fa59dcfba595feba1f17bb12fb4f44f96f7c16.tar.gz
libinput tweaks
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,