aboutsummaryrefslogtreecommitdiff
path: root/src/engine/keycodes.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/keycodes.hpp')
-rw-r--r--src/engine/keycodes.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/engine/keycodes.hpp b/src/engine/keycodes.hpp
new file mode 100644
index 0000000..163df52
--- /dev/null
+++ b/src/engine/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 = -10;
+constexpr auto DOWN_ARROW = -11;
+constexpr auto RIGHT_ARROW = -12;
+constexpr auto LEFT_ARROW = -13;
+
+} // namespace keycodes