diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-01-18 13:08:33 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-01-18 13:08:33 +0100 |
commit | 6dd9dfd266aae08880a9634c1ec015043258f92f (patch) | |
tree | 3958f1286a800cb3035edab7058037390d44fe66 /kbd.h | |
parent | d88041d909b2118ebc67b356b2848fb8bdfc8f2c (diff) | |
download | fbida-6dd9dfd266aae08880a9634c1ec015043258f92f.tar.gz |
libinput: handle console switches
Diffstat (limited to 'kbd.h')
-rw-r--r-- | kbd.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,4 +1,5 @@ #include <stdbool.h> +#include <inttypes.h> #include <linux/input.h> #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); |