diff options
Diffstat (limited to 'kbd.h')
-rw-r--r-- | kbd.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |