aboutsummaryrefslogtreecommitdiff
path: root/src/game/keycodes.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/keycodes.hpp')
-rw-r--r--src/game/keycodes.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/game/keycodes.hpp b/src/game/keycodes.hpp
new file mode 100644
index 0000000..84ca5a7
--- /dev/null
+++ b/src/game/keycodes.hpp
@@ -0,0 +1,15 @@
+#pragma once
+
+namespace keycodes
+{
+
+constexpr auto ENTER = 10;
+constexpr auto ESCAPE = 27;
+constexpr auto BACKSPACE = 127;
+
+constexpr auto UP_ARROW = 65;
+constexpr auto DOWN_ARROW = 66;
+constexpr auto RIGHT_ARROW = 67;
+constexpr auto LEFT_ARROW = 68;
+
+} // namespace keycodes