aboutsummaryrefslogtreecommitdiff
path: root/09-september/tomcat/input.h
diff options
context:
space:
mode:
Diffstat (limited to '09-september/tomcat/input.h')
-rw-r--r--09-september/tomcat/input.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/09-september/tomcat/input.h b/09-september/tomcat/input.h
new file mode 100644
index 0000000..92876ca
--- /dev/null
+++ b/09-september/tomcat/input.h
@@ -0,0 +1,11 @@
+#ifndef INPUT_H
+#define INPUT_H
+
+#include <stdbool.h>
+#define MAX_KEY_BUFFER_SIZE 256
+
+void Input_PressKey(unsigned int key);
+void Input_ReleaseKey(unsigned int key);
+bool Input_isKeyPressed(unsigned int key);
+
+#endif // INPUT_H