aboutsummaryrefslogtreecommitdiffstats
path: root/kbd.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-01-18 13:00:01 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-01-18 13:00:01 +0100
commitd88041d909b2118ebc67b356b2848fb8bdfc8f2c (patch)
treea5e5e41a2aad0637b1799da3555c214f346dab0d /kbd.h
parent2692e11168fec90673d21caf2c811cadbf63d2be (diff)
downloadfbida-d88041d909b2118ebc67b356b2848fb8bdfc8f2c.tar.gz
libinput: grab tweaks
Diffstat (limited to 'kbd.h')
-rw-r--r--kbd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kbd.h b/kbd.h
index e9ed50b..95fe824 100644
--- a/kbd.h
+++ b/kbd.h
@@ -1,9 +1,10 @@
+#include <stdbool.h>
#include <linux/input.h>
#define KEY_MOD_SHIFT (1 << 0)
#define KEY_MOD_CTRL (1 << 1)
-void kbd_init(int use_libinput, dev_t gfx);
+void kbd_init(bool use_libinput, bool use_grab, dev_t gfx);
int kbd_wait(int timeout);
int kbd_read(char *buf, uint32_t len,
uint32_t *keycode, uint32_t *modifier);