summaryrefslogtreecommitdiff
path: root/src/keyboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboard.h')
-rw-r--r--src/keyboard.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/keyboard.h b/src/keyboard.h
new file mode 100644
index 0000000..c867e07
--- /dev/null
+++ b/src/keyboard.h
@@ -0,0 +1,15 @@
+#ifndef __KEYBOARD_H
+#define __KEYBOARD_H
+
+#include <stdint.h>
+
+void process_scancode(uint8_t c);
+
+struct {
+ int shift;
+ int ctrl;
+ int alt;
+ int meta;
+} mod_keys;
+
+#endif