From 6dd9dfd266aae08880a9634c1ec015043258f92f Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 18 Jan 2019 13:08:33 +0100 Subject: libinput: handle console switches --- kbd.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kbd.h') diff --git a/kbd.h b/kbd.h index 95fe824..68f06a3 100644 --- a/kbd.h +++ b/kbd.h @@ -1,4 +1,5 @@ #include +#include #include #define KEY_MOD_SHIFT (1 << 0) @@ -8,4 +9,6 @@ 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); +void kbd_suspend(void); +void kbd_resume(void); void kbd_fini(void); -- cgit