diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-30 13:20:29 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-30 13:20:29 +0200 |
commit | 25441348c4a28fd0821fe7a173e3c6cc166deb16 (patch) | |
tree | 6facf7c7a77fed51285d738ca6c85429c4bdf73b /kbd.h | |
parent | 8c315b4082bd2cc70d3df5a3d34f0aeaee17d386 (diff) | |
download | fbida-25441348c4a28fd0821fe7a173e3c6cc166deb16.tar.gz |
kbd support code
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); |