diff options
Diffstat (limited to 'kbd.h')
-rw-r--r-- | kbd.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +#include <linux/input.h> + +#define KEY_MOD_SHIFT (1 << 0) +#define KEY_MOD_CTRL (1 << 1) + +uint32_t kbd_parse(const char *key, uint32_t *mod); + +void tty_raw(void); +void tty_restore(void); |