diff options
author | crupest <crupest@outlook.com> | 2020-03-27 23:48:45 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-03-27 23:48:45 +0800 |
commit | 671860a02aa1ecc41eac1cf1e0f28c504bf9c37c (patch) | |
tree | 5e43d21c381f7ed764fad08b545f6e70fb6c97bd /include | |
parent | 58f7a808f62af4a3ca3cde1c4040d8a8ad0bb159 (diff) | |
download | cru-671860a02aa1ecc41eac1cf1e0f28c504bf9c37c.tar.gz cru-671860a02aa1ecc41eac1cf1e0f28c504bf9c37c.tar.bz2 cru-671860a02aa1ecc41eac1cf1e0f28c504bf9c37c.zip |
...
Diffstat (limited to 'include')
-rw-r--r-- | include/cru/platform/native/key_code.hpp | 89 |
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 +}; +} |