#include #include #include #define KEY_MOD_SHIFT (1 << 0) #define KEY_MOD_CTRL (1 << 1) void kbd_init(int use_libinput, 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);