Deep Learning Visualizer
Interactive visualization of basic applications of deep learning
Loading...
Searching...
No Matches
constants.h
Go to the documentation of this file.
1
#pragma once
2
8
namespace
engine::input {
9
10
enum class
action {
11
up = 0,
12
down = 1,
13
repeat = 2,
14
};
15
16
enum class
key {
17
unknown = -1,
18
19
/* Printable keys */
20
space = 32,
21
apostrophe = 39,
/* ' */
22
comma = 44,
/* , */
23
minus = 45,
/* - */
24
period = 46,
/* . */
25
slash = 47,
/* / */
26
zero = 48,
27
one = 49,
28
two = 50,
29
three = 51,
30
four = 52,
31
five = 53,
32
six = 54,
33
seven = 55,
34
eight = 56,
35
nine = 57,
36
semicolon = 59,
/* ; */
37
equal = 61,
/* = */
38
a = 65,
39
b = 66,
40
c = 67,
41
d = 68,
42
e = 69,
43
f = 70,
44
g = 71,
45
h = 72,
46
i = 73,
47
j = 74,
48
k = 75,
49
l = 76,
50
m = 77,
51
n = 78,
52
o = 79,
53
p = 80,
54
q = 81,
55
r = 82,
56
s = 83,
57
t = 84,
58
u = 85,
59
v = 86,
60
w = 87,
61
x = 88,
62
y = 89,
63
z = 90,
64
65
/* Function keys */
66
escape = 256,
67
enter = 257,
68
tab = 258,
69
backspace = 259,
70
insert = 260,
71
delete_ = 261,
// delete is a keyword
72
right = 262,
73
left = 263,
74
down = 264,
75
up = 265,
76
page_up = 266,
77
page_down = 267,
78
home = 268,
79
end = 269,
80
caps_lock = 280,
81
scroll_lock = 281,
82
num_lock = 282,
83
print_screen = 283,
84
pause = 284,
85
f1 = 290,
86
f2 = 291,
87
f3 = 292,
88
f4 = 293,
89
f5 = 294,
90
f6 = 295,
91
f7 = 296,
92
f8 = 297,
93
f9 = 298,
94
f10 = 299,
95
f11 = 300,
96
f12 = 301,
97
f13 = 302,
98
f14 = 303,
99
f15 = 304,
100
f16 = 305,
101
f17 = 306,
102
f18 = 307,
103
f19 = 308,
104
f20 = 309,
105
f21 = 310,
106
f22 = 311,
107
f23 = 312,
108
f24 = 313,
109
f25 = 314,
110
kp_0 = 320,
111
kp_1 = 321,
112
kp_2 = 322,
113
kp_3 = 323,
114
kp_4 = 324,
115
kp_5 = 325,
116
kp_6 = 326,
117
kp_7 = 327,
118
kp_8 = 328,
119
kp_9 = 329,
120
kp_decimal = 330,
121
kp_divide = 331,
122
kp_multiply = 332,
123
kp_subtract = 333,
124
kp_add = 334,
125
kp_enter = 335,
126
kp_equal = 336,
127
left_shift = 340,
128
left_control = 341,
129
left_alt = 342,
130
left_super = 343,
131
right_shift = 344,
132
right_control = 345,
133
right_alt = 346,
134
right_super = 347,
135
menu = 348,
136
};
137
138
enum class
mouse {
139
unknown = -1,
140
141
button_1 = 0,
142
button_2 = 1,
143
button_3 = 2,
144
button_4 = 3,
145
button_5 = 4,
146
button_6 = 5,
147
button_7 = 6,
148
button_8 = 7,
149
150
button_last = button_8,
151
button_left = button_1,
152
button_right = button_2,
153
button_middle = button_3,
154
};
155
156
}
// namespace engine::input
src
engine
input
constants.h
Generated by
1.9.8