Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
KeyPressCode.hpp
1#pragma once
2
3namespace Grindstone {
4 namespace Events {
5 enum class KeyPressCode {
6 ArrowLeft = 0,
7 ArrowRight,
8 ArrowUp,
9 ArrowDown,
10
11 Numpad0,
12 Numpad1,
13 Numpad2,
14 Numpad3,
15 Numpad4,
16 Numpad5,
17 Numpad6,
18 Numpad7,
19 Numpad8,
20 Numpad9,
21
22 NumpadLock,
23 NumpadDivide,
24 NumpadMultiply,
25 NumpadSubtract,
26 NumpadAdd,
27 NumpadEnter,
28 NumpadDot,
29
30 F0,
31 F1,
32 F2,
33 F3,
34 F4,
35 F5,
36 F6,
37 F7,
38 F8,
39 F9,
40 F10,
41 F11,
42 F12,
43 F13,
44 F14,
45 F15,
46 F16,
47 F17,
48 F18,
49 F19,
50 F20,
51 F21,
52 F22,
53 F23,
54 F24,
55 F25,
56
57 Num0,
58 Num1,
59 Num2,
60 Num3,
61 Num4,
62 Num5,
63 Num6,
64 Num7,
65 Num8,
66 Num9,
67 Dash,
68 Add,
69
70 A,
71 B,
72 C,
73 D,
74 E,
75 F,
76 G,
77 H,
78 I,
79 J,
80 K,
81 L,
82 M,
83 N,
84 O,
85 P,
86 Q,
87 R,
88 S,
89 T,
90 U,
91 V,
92 W,
93 X,
94 Y,
95 Z,
96
97 Escape,
98 LeftShift,
99 Shift,
100 LeftControl,
101 Control,
102 LeftAlt,
103 Alt,
104 CapsLock,
105 Tab,
106
107 Insert,
108 Home,
109 PageUp,
110 PageDown,
111 End,
112 Delete,
113 Pause,
114 ScrollLock,
115
116 Comma,
117 Period,
118 ForwardSlash,
119 Semicolon,
120 Apostrophe,
121 BackSlash,
122 LeftBracket,
123 RightBracket,
124
125 Enter,
126 Backspace,
127 Tilde,
128
129 Window,
130
131 Space,
132 Last,
133 Invalid = Last
134 }; // enum class KeyPressCode
135 } // namespace Events
136} // namespace Grindstone