aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/native/key_code.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/platform/native/key_code.hpp')
-rw-r--r--include/cru/platform/native/key_code.hpp89
1 files changed, 89 insertions, 0 deletions
diff --git a/include/cru/platform/native/key_code.hpp b/include/cru/platform/native/key_code.hpp
new file mode 100644
index 00000000..d4e1ee8f
--- /dev/null
+++ b/include/cru/platform/native/key_code.hpp
@@ -0,0 +1,89 @@
+#pragma once
+
+namespace cru::platform::native {
+enum class KeyCode {
+ LeftButton,
+ MiddleButton,
+ RightButton,
+ Escape,
+ F1,
+ F2,
+ F3,
+ F4,
+ F5,
+ F6,
+ F7,
+ F8,
+ F9,
+ F10,
+ F11,
+ F12,
+ N1,
+ N2,
+ N3,
+ N4,
+ N5,
+ N6,
+ N7,
+ N8,
+ N9,
+ N0,
+ A,
+ B,
+ C,
+ D,
+ E,
+ F,
+ G,
+ H,
+ I,
+ J,
+ K,
+ L,
+ M,
+ N,
+ O,
+ P,
+ Q,
+ R,
+ S,
+ T,
+ U,
+ V,
+ W,
+ X,
+ Y,
+ Z,
+ GraveAccent,
+ Tab,
+ CapsLock,
+ LeftShift,
+ LeftControl,
+ Win,
+ LeftAlt,
+ Minus,
+ Equal,
+ Backspace,
+ LeftSquareBracket,
+ RightSquareBracket,
+ BackSlash,
+ Semicolon,
+ Quote,
+ Comma,
+ Point,
+ Slash,
+ RightShift,
+ RightAlt,
+ RightCtrl,
+ Insert,
+ Delete,
+ Home,
+ End,
+ PageUp,
+ PageDown,
+ Up,
+ Left,
+ Down,
+ Right
+};
+}