summaryrefslogtreecommitdiff
path: root/src/keyboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboard.h')
-rw-r--r--src/keyboard.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/keyboard.h b/src/keyboard.h
new file mode 100644
index 0000000..1e0c483
--- /dev/null
+++ b/src/keyboard.h
@@ -0,0 +1,21 @@
+#ifndef _HACKVR_KEYBOARD_H_
+#define _HACKVR_KEYBOARD_H_
+
+typedef enum {
+ HVK_NONE,
+ HVK_ESCAPE,
+ HVK_FORWARD,
+ HVK_BACKWARD,
+ HVK_UP,
+ HVK_DOWN,
+ HVK_LEFT,
+ HVK_RIGHT,
+ HVK_JUMP,
+ HVK_DEBUG,
+ HVK_ENTER,
+ HVK_MAGIC
+} hvk_t;
+
+hvk_t get_keyboard_event();
+
+#endif