Gosu
Gosu
Buttons.hpp
Go to the documentation of this file.
1
#pragma once
2
3
namespace
Gosu
4
{
8
enum
Button
9
{
10
KB_ESCAPE
= 41,
11
KB_F1
= 58,
12
KB_F2
= 59,
13
KB_F3
= 60,
14
KB_F4
= 61,
15
KB_F5
= 62,
16
KB_F6
= 63,
17
KB_F7
= 64,
18
KB_F8
= 65,
19
KB_F9
= 66,
20
KB_F10
= 67,
21
KB_F11
= 68,
22
KB_F12
= 69,
23
KB_0
= 39,
24
KB_1
= 30,
25
KB_2
= 31,
26
KB_3
= 32,
27
KB_4
= 33,
28
KB_5
= 34,
29
KB_6
= 35,
30
KB_7
= 36,
31
KB_8
= 37,
32
KB_9
= 38,
33
KB_TAB
= 43,
34
KB_RETURN
= 40,
35
KB_SPACE
= 44,
36
KB_LEFT_SHIFT
= 225,
37
KB_RIGHT_SHIFT
= 229,
38
KB_LEFT_CONTROL
= 224,
39
KB_RIGHT_CONTROL
= 228,
40
KB_LEFT_ALT
= 226,
41
KB_RIGHT_ALT
= 230,
42
KB_LEFT_META
= 227,
43
KB_RIGHT_META
= 231,
44
KB_BACKSPACE
= 42,
45
KB_LEFT
= 80,
46
KB_RIGHT
= 79,
47
KB_UP
= 82,
48
KB_DOWN
= 81,
49
KB_HOME
= 74,
50
KB_END
= 77,
51
KB_PRINT_SCREEN
= 70,
52
KB_SCROLL_LOCK
= 71,
53
KB_PAUSE
= 72,
54
KB_INSERT
= 73,
55
KB_DELETE
= 76,
56
KB_PAGE_UP
= 75,
57
KB_PAGE_DOWN
= 78,
58
KB_ENTER
= 88,
59
KB_BACKTICK
= 53,
60
KB_MINUS
= 45,
61
KB_EQUALS
= 46,
62
KB_LEFT_BRACKET
= 47,
63
KB_RIGHT_BRACKET
= 48,
64
KB_BACKSLASH
= 49,
65
KB_SEMICOLON
= 51,
66
KB_APOSTROPHE
= 52,
67
KB_COMMA
= 54,
68
KB_PERIOD
= 55,
69
KB_SLASH
= 56,
70
KB_CAPS_LOCK
= 57,
71
KB_A
= 4,
72
KB_B
= 5,
73
KB_C
= 6,
74
KB_D
= 7,
75
KB_E
= 8,
76
KB_F
= 9,
77
KB_G
= 10,
78
KB_H
= 11,
79
KB_I
= 12,
80
KB_J
= 13,
81
KB_K
= 14,
82
KB_L
= 15,
83
KB_M
= 16,
84
KB_N
= 17,
85
KB_O
= 18,
86
KB_P
= 19,
87
KB_Q
= 20,
88
KB_R
= 21,
89
KB_S
= 22,
90
KB_T
= 23,
91
KB_U
= 24,
92
KB_V
= 25,
93
KB_W
= 26,
94
KB_X
= 27,
95
KB_Y
= 28,
96
KB_Z
= 29,
98
KB_ISO
= 100,
99
KB_NUMPAD_0
= 98,
100
KB_NUMPAD_1
= 89,
101
KB_NUMPAD_2
= 90,
102
KB_NUMPAD_3
= 91,
103
KB_NUMPAD_4
= 92,
104
KB_NUMPAD_5
= 93,
105
KB_NUMPAD_6
= 94,
106
KB_NUMPAD_7
= 95,
107
KB_NUMPAD_8
= 96,
108
KB_NUMPAD_9
= 97,
109
KB_NUMPAD_DELETE
= 99,
110
KB_NUMPAD_PLUS
= 87,
111
KB_NUMPAD_MINUS
= 86,
112
KB_NUMPAD_MULTIPLY
= 85,
113
KB_NUMPAD_DIVIDE
= 84,
114
KB_RANGE_END
= 0xff,
115
116
MS_RANGE_BEGIN
,
117
MS_LEFT
=
MS_RANGE_BEGIN
,
118
MS_MIDDLE
,
119
MS_RIGHT
,
120
MS_WHEEL_UP
,
121
MS_WHEEL_DOWN
,
122
MS_OTHER_0
,
123
MS_OTHER_1
,
124
MS_OTHER_2
,
125
MS_OTHER_3
,
126
MS_OTHER_4
,
127
MS_OTHER_5
,
128
MS_OTHER_6
,
129
MS_OTHER_7
,
130
131
GP_RANGE_BEGIN
,
132
GP_DPAD_LEFT
=
GP_RANGE_BEGIN
,
133
GP_DPAD_RIGHT
,
134
GP_DPAD_UP
,
135
GP_DPAD_DOWN
,
136
GP_BUTTON_0
,
137
GP_BUTTON_1
,
138
GP_BUTTON_2
,
139
GP_BUTTON_3
,
140
GP_BUTTON_4
,
141
GP_BUTTON_5
,
142
GP_BUTTON_6
,
143
GP_BUTTON_7
,
144
GP_BUTTON_8
,
145
GP_BUTTON_9
,
146
GP_BUTTON_10
,
147
GP_BUTTON_11
,
148
GP_BUTTON_12
,
149
GP_BUTTON_13
,
150
GP_BUTTON_14
,
151
GP_BUTTON_15
,
152
153
GP_0_DPAD_LEFT
,
154
GP_0_DPAD_RIGHT
,
155
GP_0_DPAD_UP
,
156
GP_0_DPAD_DOWN
,
157
GP_0_BUTTON_0
,
158
GP_0_BUTTON_1
,
159
GP_0_BUTTON_2
,
160
GP_0_BUTTON_3
,
161
GP_0_BUTTON_4
,
162
GP_0_BUTTON_5
,
163
GP_0_BUTTON_6
,
164
GP_0_BUTTON_7
,
165
GP_0_BUTTON_8
,
166
GP_0_BUTTON_9
,
167
GP_0_BUTTON_10
,
168
GP_0_BUTTON_11
,
169
GP_0_BUTTON_12
,
170
GP_0_BUTTON_13
,
171
GP_0_BUTTON_14
,
172
GP_0_BUTTON_15
,
173
174
GP_1_DPAD_LEFT
,
175
GP_1_DPAD_RIGHT
,
176
GP_1_DPAD_UP
,
177
GP_1_DPAD_DOWN
,
178
GP_1_BUTTON_0
,
179
GP_1_BUTTON_1
,
180
GP_1_BUTTON_2
,
181
GP_1_BUTTON_3
,
182
GP_1_BUTTON_4
,
183
GP_1_BUTTON_5
,
184
GP_1_BUTTON_6
,
185
GP_1_BUTTON_7
,
186
GP_1_BUTTON_8
,
187
GP_1_BUTTON_9
,
188
GP_1_BUTTON_10
,
189
GP_1_BUTTON_11
,
190
GP_1_BUTTON_12
,
191
GP_1_BUTTON_13
,
192
GP_1_BUTTON_14
,
193
GP_1_BUTTON_15
,
194
195
GP_2_DPAD_LEFT
,
196
GP_2_DPAD_RIGHT
,
197
GP_2_DPAD_UP
,
198
GP_2_DPAD_DOWN
,
199
GP_2_BUTTON_0
,
200
GP_2_BUTTON_1
,
201
GP_2_BUTTON_2
,
202
GP_2_BUTTON_3
,
203
GP_2_BUTTON_4
,
204
GP_2_BUTTON_5
,
205
GP_2_BUTTON_6
,
206
GP_2_BUTTON_7
,
207
GP_2_BUTTON_8
,
208
GP_2_BUTTON_9
,
209
GP_2_BUTTON_10
,
210
GP_2_BUTTON_11
,
211
GP_2_BUTTON_12
,
212
GP_2_BUTTON_13
,
213
GP_2_BUTTON_14
,
214
GP_2_BUTTON_15
,
215
216
GP_3_DPAD_LEFT
,
217
GP_3_DPAD_RIGHT
,
218
GP_3_DPAD_UP
,
219
GP_3_DPAD_DOWN
,
220
GP_3_BUTTON_0
,
221
GP_3_BUTTON_1
,
222
GP_3_BUTTON_2
,
223
GP_3_BUTTON_3
,
224
GP_3_BUTTON_4
,
225
GP_3_BUTTON_5
,
226
GP_3_BUTTON_6
,
227
GP_3_BUTTON_7
,
228
GP_3_BUTTON_8
,
229
GP_3_BUTTON_9
,
230
GP_3_BUTTON_10
,
231
GP_3_BUTTON_11
,
232
GP_3_BUTTON_12
,
233
GP_3_BUTTON_13
,
234
GP_3_BUTTON_14
,
235
GP_3_BUTTON_15
,
236
237
GP_LEFT
,
238
GP_RIGHT
,
239
GP_UP
,
240
GP_DOWN
,
241
242
GP_0_LEFT
,
243
GP_0_RIGHT
,
244
GP_0_UP
,
245
GP_0_DOWN
,
246
247
GP_1_LEFT
,
248
GP_1_RIGHT
,
249
GP_1_UP
,
250
GP_1_DOWN
,
251
252
GP_2_LEFT
,
253
GP_2_RIGHT
,
254
GP_2_UP
,
255
GP_2_DOWN
,
256
257
GP_3_LEFT
,
258
GP_3_RIGHT
,
259
GP_3_UP
,
260
GP_3_DOWN
,
261
GP_RANGE_END
=
GP_3_DOWN
,
262
263
NUM_GAMEPADS
= 4,
264
NO_BUTTON
= 0xffffffff,
265
};
266
268
enum
Axis
269
{
270
GP_LEFT_STICK_X_AXIS
,
271
GP_LEFT_STICK_Y_AXIS
,
272
GP_RIGHT_STICK_X_AXIS
,
273
GP_RIGHT_STICK_Y_AXIS
,
274
GP_LEFT_TRIGGER_AXIS
,
275
GP_RIGHT_TRIGGER_AXIS
,
276
277
GP_0_LEFT_STICK_X_AXIS
,
278
GP_0_LEFT_STICK_Y_AXIS
,
279
GP_0_RIGHT_STICK_X_AXIS
,
280
GP_0_RIGHT_STICK_Y_AXIS
,
281
GP_0_LEFT_TRIGGER_AXIS
,
282
GP_0_RIGHT_TRIGGER_AXIS
,
283
284
GP_1_LEFT_STICK_X_AXIS
,
285
GP_1_LEFT_STICK_Y_AXIS
,
286
GP_1_RIGHT_STICK_X_AXIS
,
287
GP_1_RIGHT_STICK_Y_AXIS
,
288
GP_1_LEFT_TRIGGER_AXIS
,
289
GP_1_RIGHT_TRIGGER_AXIS
,
290
291
GP_2_LEFT_STICK_X_AXIS
,
292
GP_2_LEFT_STICK_Y_AXIS
,
293
GP_2_RIGHT_STICK_X_AXIS
,
294
GP_2_RIGHT_STICK_Y_AXIS
,
295
GP_2_LEFT_TRIGGER_AXIS
,
296
GP_2_RIGHT_TRIGGER_AXIS
,
297
298
GP_3_LEFT_STICK_X_AXIS
,
299
GP_3_LEFT_STICK_Y_AXIS
,
300
GP_3_RIGHT_STICK_X_AXIS
,
301
GP_3_RIGHT_STICK_Y_AXIS
,
302
GP_3_LEFT_TRIGGER_AXIS
,
303
GP_3_RIGHT_TRIGGER_AXIS
,
304
305
NUM_AXES
306
};
307
}
Gosu::KB_S
Definition:
Buttons.hpp:89
Gosu::GP_1_BUTTON_8
Definition:
Buttons.hpp:186
Gosu::GP_3_BUTTON_13
Definition:
Buttons.hpp:233
Gosu::KB_PERIOD
Definition:
Buttons.hpp:68
Gosu::KB_K
Definition:
Buttons.hpp:81
Gosu::KB_G
Definition:
Buttons.hpp:77
Gosu::KB_MINUS
Definition:
Buttons.hpp:60
Gosu::KB_BACKSPACE
Definition:
Buttons.hpp:44
Gosu::GP_DPAD_RIGHT
Definition:
Buttons.hpp:133
Gosu::GP_0_DPAD_RIGHT
Definition:
Buttons.hpp:154
Gosu::KB_F3
Definition:
Buttons.hpp:13
Gosu::GP_1_BUTTON_5
Definition:
Buttons.hpp:183
Gosu::KB_NUMPAD_0
Definition:
Buttons.hpp:99
Gosu::GP_BUTTON_0
Definition:
Buttons.hpp:136
Gosu::GP_0_BUTTON_14
Definition:
Buttons.hpp:171
Gosu::GP_1_BUTTON_2
Definition:
Buttons.hpp:180
Gosu::KB_HOME
Definition:
Buttons.hpp:49
Gosu::GP_1_BUTTON_1
Definition:
Buttons.hpp:179
Gosu::GP_3_BUTTON_14
Definition:
Buttons.hpp:234
Gosu::KB_UP
Definition:
Buttons.hpp:47
Gosu::GP_LEFT
Definition:
Buttons.hpp:237
Gosu::GP_0_BUTTON_11
Definition:
Buttons.hpp:168
Gosu::GP_BUTTON_9
Definition:
Buttons.hpp:145
Gosu::KB_APOSTROPHE
Definition:
Buttons.hpp:66
Gosu::KB_5
Definition:
Buttons.hpp:28
Gosu::GP_BUTTON_11
Definition:
Buttons.hpp:147
Gosu::KB_NUMPAD_DELETE
Definition:
Buttons.hpp:109
Gosu::KB_1
Definition:
Buttons.hpp:24
Gosu
Definition:
Audio.hpp:12
Gosu::KB_U
Definition:
Buttons.hpp:91
Gosu::GP_BUTTON_7
Definition:
Buttons.hpp:143
Gosu::GP_2_DPAD_UP
Definition:
Buttons.hpp:197
Gosu::GP_0_BUTTON_4
Definition:
Buttons.hpp:161
Gosu::KB_2
Definition:
Buttons.hpp:25
Gosu::GP_RIGHT
Definition:
Buttons.hpp:238
Gosu::KB_BACKSLASH
Definition:
Buttons.hpp:64
Gosu::KB_O
Definition:
Buttons.hpp:85
Gosu::GP_1_RIGHT
Definition:
Buttons.hpp:248
Gosu::KB_NUMPAD_6
Definition:
Buttons.hpp:105
Gosu::KB_6
Definition:
Buttons.hpp:29
Gosu::GP_1_DPAD_LEFT
Definition:
Buttons.hpp:174
Gosu::GP_3_BUTTON_15
Definition:
Buttons.hpp:235
Gosu::KB_T
Definition:
Buttons.hpp:90
Gosu::KB_LEFT_SHIFT
Definition:
Buttons.hpp:36
Gosu::KB_Z
Definition:
Buttons.hpp:96
Gosu::KB_RETURN
Definition:
Buttons.hpp:34
Gosu::KB_F1
Definition:
Buttons.hpp:11
Gosu::KB_F8
Definition:
Buttons.hpp:18
Gosu::KB_RANGE_END
Definition:
Buttons.hpp:114
Gosu::GP_2_RIGHT
Definition:
Buttons.hpp:253
Gosu::NUM_AXES
Definition:
Buttons.hpp:305
Gosu::GP_0_BUTTON_0
Definition:
Buttons.hpp:157
Gosu::GP_1_BUTTON_3
Definition:
Buttons.hpp:181
Gosu::GP_3_BUTTON_0
Definition:
Buttons.hpp:220
Gosu::KB_RIGHT_ALT
Definition:
Buttons.hpp:41
Gosu::GP_1_LEFT_TRIGGER_AXIS
Definition:
Buttons.hpp:288
Gosu::NO_BUTTON
Definition:
Buttons.hpp:264
Gosu::GP_3_RIGHT_STICK_Y_AXIS
Definition:
Buttons.hpp:301
Gosu::KB_RIGHT_CONTROL
Definition:
Buttons.hpp:39
Gosu::GP_3_BUTTON_1
Definition:
Buttons.hpp:221
Gosu::GP_0_BUTTON_3
Definition:
Buttons.hpp:160
Gosu::GP_2_BUTTON_8
Definition:
Buttons.hpp:207
Gosu::GP_3_LEFT
Definition:
Buttons.hpp:257
Gosu::GP_2_BUTTON_15
Definition:
Buttons.hpp:214
Gosu::GP_3_LEFT_TRIGGER_AXIS
Definition:
Buttons.hpp:302
Gosu::GP_1_LEFT
Definition:
Buttons.hpp:247
Gosu::GP_LEFT_STICK_X_AXIS
Definition:
Buttons.hpp:270
Gosu::GP_3_DPAD_RIGHT
Definition:
Buttons.hpp:217
Gosu::GP_1_RIGHT_STICK_Y_AXIS
Definition:
Buttons.hpp:287
Gosu::GP_3_LEFT_STICK_X_AXIS
Definition:
Buttons.hpp:298
Gosu::KB_NUMPAD_3
Definition:
Buttons.hpp:102
Gosu::GP_2_DPAD_DOWN
Definition:
Buttons.hpp:198
Gosu::KB_SLASH
Definition:
Buttons.hpp:69
Gosu::MS_RANGE_BEGIN
Definition:
Buttons.hpp:116
Gosu::KB_NUMPAD_7
Definition:
Buttons.hpp:106
Gosu::KB_LEFT_META
Definition:
Buttons.hpp:42
Gosu::KB_NUMPAD_DIVIDE
Definition:
Buttons.hpp:113
Gosu::KB_DELETE
Definition:
Buttons.hpp:55
Gosu::GP_1_BUTTON_13
Definition:
Buttons.hpp:191
Gosu::GP_2_LEFT
Definition:
Buttons.hpp:252
Gosu::GP_1_DOWN
Definition:
Buttons.hpp:250
Gosu::GP_0_BUTTON_10
Definition:
Buttons.hpp:167
Gosu::GP_LEFT_STICK_Y_AXIS
Definition:
Buttons.hpp:271
Gosu::GP_0_BUTTON_7
Definition:
Buttons.hpp:164
Gosu::GP_2_BUTTON_13
Definition:
Buttons.hpp:212
Gosu::GP_0_RIGHT_STICK_Y_AXIS
Definition:
Buttons.hpp:280
Gosu::MS_OTHER_4
Definition:
Buttons.hpp:126
Gosu::GP_2_BUTTON_0
Definition:
Buttons.hpp:199
Gosu::GP_RIGHT_STICK_Y_AXIS
Definition:
Buttons.hpp:273
Gosu::GP_0_RIGHT_TRIGGER_AXIS
Definition:
Buttons.hpp:282
Gosu::GP_3_LEFT_STICK_Y_AXIS
Definition:
Buttons.hpp:299
Gosu::KB_P
Definition:
Buttons.hpp:86
Gosu::KB_EQUALS
Definition:
Buttons.hpp:61
Gosu::GP_1_DPAD_DOWN
Definition:
Buttons.hpp:177
Gosu::GP_3_RIGHT_STICK_X_AXIS
Definition:
Buttons.hpp:300
Gosu::GP_2_LEFT_TRIGGER_AXIS
Definition:
Buttons.hpp:295
Gosu::KB_D
Definition:
Buttons.hpp:74
Gosu::KB_LEFT_ALT
Definition:
Buttons.hpp:40
Gosu::GP_DPAD_UP
Definition:
Buttons.hpp:134
Gosu::KB_BACKTICK
Definition:
Buttons.hpp:59
Gosu::KB_NUMPAD_9
Definition:
Buttons.hpp:108
Gosu::KB_F2
Definition:
Buttons.hpp:12
Gosu::GP_0_DPAD_DOWN
Definition:
Buttons.hpp:156
Gosu::GP_3_DPAD_UP
Definition:
Buttons.hpp:218
Gosu::GP_BUTTON_14
Definition:
Buttons.hpp:150
Gosu::GP_2_LEFT_STICK_X_AXIS
Definition:
Buttons.hpp:291
Gosu::GP_3_BUTTON_11
Definition:
Buttons.hpp:231
Gosu::KB_INSERT
Definition:
Buttons.hpp:54
Gosu::KB_SPACE
Definition:
Buttons.hpp:35
Gosu::KB_F7
Definition:
Buttons.hpp:17
Gosu::GP_0_LEFT_TRIGGER_AXIS
Definition:
Buttons.hpp:281
Gosu::MS_MIDDLE
Definition:
Buttons.hpp:118
Gosu::GP_1_BUTTON_12
Definition:
Buttons.hpp:190
Gosu::GP_0_DPAD_LEFT
Definition:
Buttons.hpp:153
Gosu::GP_1_BUTTON_7
Definition:
Buttons.hpp:185
Gosu::GP_BUTTON_1
Definition:
Buttons.hpp:137
Gosu::GP_RIGHT_STICK_X_AXIS
Definition:
Buttons.hpp:272
Gosu::GP_2_RIGHT_STICK_Y_AXIS
Definition:
Buttons.hpp:294
Gosu::GP_0_LEFT_STICK_Y_AXIS
Definition:
Buttons.hpp:278
Gosu::GP_1_BUTTON_14
Definition:
Buttons.hpp:192
Gosu::KB_NUMPAD_5
Definition:
Buttons.hpp:104
Gosu::GP_2_BUTTON_1
Definition:
Buttons.hpp:200
Gosu::GP_1_BUTTON_15
Definition:
Buttons.hpp:193
Gosu::GP_BUTTON_6
Definition:
Buttons.hpp:142
Gosu::GP_0_BUTTON_5
Definition:
Buttons.hpp:162
Gosu::GP_0_BUTTON_9
Definition:
Buttons.hpp:166
Gosu::KB_RIGHT_SHIFT
Definition:
Buttons.hpp:37
Gosu::GP_1_BUTTON_6
Definition:
Buttons.hpp:184
Gosu::GP_3_RIGHT_TRIGGER_AXIS
Definition:
Buttons.hpp:303
Gosu::Axis
Axis
List of axis IDs that can be used with Gosu::Input.
Definition:
Buttons.hpp:268
Gosu::GP_0_BUTTON_8
Definition:
Buttons.hpp:165
Gosu::KB_F
Definition:
Buttons.hpp:76
Gosu::KB_PAGE_UP
Definition:
Buttons.hpp:56
Gosu::KB_ESCAPE
Definition:
Buttons.hpp:10
Gosu::GP_RIGHT_TRIGGER_AXIS
Definition:
Buttons.hpp:275
Gosu::KB_4
Definition:
Buttons.hpp:27
Gosu::MS_OTHER_1
Definition:
Buttons.hpp:123
Gosu::MS_OTHER_2
Definition:
Buttons.hpp:124
Gosu::GP_3_BUTTON_6
Definition:
Buttons.hpp:226
Gosu::GP_0_BUTTON_13
Definition:
Buttons.hpp:170
Gosu::KB_RIGHT
Definition:
Buttons.hpp:46
Gosu::GP_0_DPAD_UP
Definition:
Buttons.hpp:155
Gosu::GP_3_BUTTON_3
Definition:
Buttons.hpp:223
Gosu::KB_SCROLL_LOCK
Definition:
Buttons.hpp:52
Gosu::GP_0_LEFT
Definition:
Buttons.hpp:242
Gosu::GP_1_RIGHT_TRIGGER_AXIS
Definition:
Buttons.hpp:289
Gosu::GP_2_BUTTON_6
Definition:
Buttons.hpp:205
Gosu::KB_C
Definition:
Buttons.hpp:73
Gosu::KB_7
Definition:
Buttons.hpp:30
Gosu::KB_F4
Definition:
Buttons.hpp:14
Gosu::KB_NUMPAD_PLUS
Definition:
Buttons.hpp:110
Gosu::KB_ENTER
Definition:
Buttons.hpp:58
Gosu::GP_0_BUTTON_12
Definition:
Buttons.hpp:169
Gosu::KB_LEFT_BRACKET
Definition:
Buttons.hpp:62
Gosu::GP_2_BUTTON_2
Definition:
Buttons.hpp:201
Gosu::GP_3_DPAD_DOWN
Definition:
Buttons.hpp:219
Gosu::KB_F10
Definition:
Buttons.hpp:20
Gosu::KB_F9
Definition:
Buttons.hpp:19
Gosu::GP_2_UP
Definition:
Buttons.hpp:254
Gosu::KB_PRINT_SCREEN
Definition:
Buttons.hpp:51
Gosu::MS_OTHER_7
Definition:
Buttons.hpp:129
Gosu::KB_CAPS_LOCK
Definition:
Buttons.hpp:70
Gosu::GP_BUTTON_12
Definition:
Buttons.hpp:148
Gosu::GP_RANGE_BEGIN
Definition:
Buttons.hpp:131
Gosu::KB_B
Definition:
Buttons.hpp:72
Gosu::KB_R
Definition:
Buttons.hpp:88
Gosu::GP_0_BUTTON_2
Definition:
Buttons.hpp:159
Gosu::KB_NUMPAD_2
Definition:
Buttons.hpp:101
Gosu::GP_3_BUTTON_5
Definition:
Buttons.hpp:225
Gosu::GP_3_UP
Definition:
Buttons.hpp:259
Gosu::GP_BUTTON_15
Definition:
Buttons.hpp:151
Gosu::GP_0_UP
Definition:
Buttons.hpp:244
Gosu::GP_UP
Definition:
Buttons.hpp:239
Gosu::GP_BUTTON_8
Definition:
Buttons.hpp:144
Gosu::MS_WHEEL_DOWN
Definition:
Buttons.hpp:121
Gosu::KB_RIGHT_BRACKET
Definition:
Buttons.hpp:63
Gosu::KB_8
Definition:
Buttons.hpp:31
Gosu::KB_NUMPAD_4
Definition:
Buttons.hpp:103
Gosu::MS_LEFT
Definition:
Buttons.hpp:117
Gosu::GP_1_RIGHT_STICK_X_AXIS
Definition:
Buttons.hpp:286
Gosu::KB_NUMPAD_8
Definition:
Buttons.hpp:107
Gosu::MS_OTHER_0
Definition:
Buttons.hpp:122
Gosu::KB_3
Definition:
Buttons.hpp:26
Gosu::GP_BUTTON_10
Definition:
Buttons.hpp:146
Gosu::GP_0_DOWN
Definition:
Buttons.hpp:245
Gosu::GP_BUTTON_5
Definition:
Buttons.hpp:141
Gosu::NUM_GAMEPADS
Definition:
Buttons.hpp:263
Gosu::GP_3_BUTTON_7
Definition:
Buttons.hpp:227
Gosu::KB_M
Definition:
Buttons.hpp:83
Gosu::KB_LEFT
Definition:
Buttons.hpp:45
Gosu::GP_3_BUTTON_9
Definition:
Buttons.hpp:229
Gosu::GP_2_BUTTON_11
Definition:
Buttons.hpp:210
Gosu::KB_RIGHT_META
Definition:
Buttons.hpp:43
Gosu::GP_1_DPAD_RIGHT
Definition:
Buttons.hpp:175
Gosu::GP_LEFT_TRIGGER_AXIS
Definition:
Buttons.hpp:274
Gosu::MS_RIGHT
Definition:
Buttons.hpp:119
Gosu::Button
Button
List of button IDs that can be used with Gosu::Input.
Definition:
Buttons.hpp:8
Gosu::GP_BUTTON_3
Definition:
Buttons.hpp:139
Gosu::GP_BUTTON_4
Definition:
Buttons.hpp:140
Gosu::GP_1_DPAD_UP
Definition:
Buttons.hpp:176
Gosu::GP_2_DPAD_LEFT
Definition:
Buttons.hpp:195
Gosu::KB_Q
Definition:
Buttons.hpp:87
Gosu::GP_2_BUTTON_10
Definition:
Buttons.hpp:209
Gosu::GP_1_BUTTON_0
Definition:
Buttons.hpp:178
Gosu::GP_2_DOWN
Definition:
Buttons.hpp:255
Gosu::GP_2_BUTTON_7
Definition:
Buttons.hpp:206
Gosu::GP_BUTTON_13
Definition:
Buttons.hpp:149
Gosu::KB_A
Definition:
Buttons.hpp:71
Gosu::KB_F11
Definition:
Buttons.hpp:21
Gosu::KB_H
Definition:
Buttons.hpp:78
Gosu::GP_3_BUTTON_12
Definition:
Buttons.hpp:232
Gosu::GP_3_BUTTON_10
Definition:
Buttons.hpp:230
Gosu::KB_N
Definition:
Buttons.hpp:84
Gosu::KB_NUMPAD_MINUS
Definition:
Buttons.hpp:111
Gosu::KB_W
Definition:
Buttons.hpp:93
Gosu::GP_3_BUTTON_2
Definition:
Buttons.hpp:222
Gosu::MS_OTHER_3
Definition:
Buttons.hpp:125
Gosu::KB_E
Definition:
Buttons.hpp:75
Gosu::GP_1_BUTTON_11
Definition:
Buttons.hpp:189
Gosu::GP_0_LEFT_STICK_X_AXIS
Definition:
Buttons.hpp:277
Gosu::GP_DPAD_LEFT
Definition:
Buttons.hpp:132
Gosu::KB_L
Definition:
Buttons.hpp:82
Gosu::GP_3_BUTTON_8
Definition:
Buttons.hpp:228
Gosu::GP_2_BUTTON_14
Definition:
Buttons.hpp:213
Gosu::GP_2_BUTTON_5
Definition:
Buttons.hpp:204
Gosu::KB_X
Definition:
Buttons.hpp:94
Gosu::KB_ISO
` on US/UK macOS, < on EU macOS, \ on US/UK Windows
Definition:
Buttons.hpp:98
Gosu::GP_2_RIGHT_TRIGGER_AXIS
Definition:
Buttons.hpp:296
Gosu::GP_2_RIGHT_STICK_X_AXIS
Definition:
Buttons.hpp:293
Gosu::KB_Y
Definition:
Buttons.hpp:95
Gosu::GP_0_BUTTON_1
Definition:
Buttons.hpp:158
Gosu::GP_1_LEFT_STICK_X_AXIS
Definition:
Buttons.hpp:284
Gosu::GP_2_BUTTON_12
Definition:
Buttons.hpp:211
Gosu::KB_PAGE_DOWN
Definition:
Buttons.hpp:57
Gosu::GP_RANGE_END
Definition:
Buttons.hpp:261
Gosu::GP_3_DOWN
Definition:
Buttons.hpp:260
Gosu::GP_2_BUTTON_4
Definition:
Buttons.hpp:203
Gosu::MS_WHEEL_UP
Definition:
Buttons.hpp:120
Gosu::MS_OTHER_6
Definition:
Buttons.hpp:128
Gosu::GP_0_BUTTON_6
Definition:
Buttons.hpp:163
Gosu::KB_TAB
Definition:
Buttons.hpp:33
Gosu::GP_3_RIGHT
Definition:
Buttons.hpp:258
Gosu::GP_1_LEFT_STICK_Y_AXIS
Definition:
Buttons.hpp:285
Gosu::KB_I
Definition:
Buttons.hpp:79
Gosu::KB_F5
Definition:
Buttons.hpp:15
Gosu::MS_OTHER_5
Definition:
Buttons.hpp:127
Gosu::GP_2_DPAD_RIGHT
Definition:
Buttons.hpp:196
Gosu::GP_BUTTON_2
Definition:
Buttons.hpp:138
Gosu::KB_0
Definition:
Buttons.hpp:23
Gosu::KB_NUMPAD_MULTIPLY
Definition:
Buttons.hpp:112
Gosu::KB_COMMA
Definition:
Buttons.hpp:67
Gosu::GP_2_BUTTON_3
Definition:
Buttons.hpp:202
Gosu::GP_1_BUTTON_4
Definition:
Buttons.hpp:182
Gosu::GP_1_UP
Definition:
Buttons.hpp:249
Gosu::GP_2_LEFT_STICK_Y_AXIS
Definition:
Buttons.hpp:292
Gosu::GP_0_BUTTON_15
Definition:
Buttons.hpp:172
Gosu::GP_3_BUTTON_4
Definition:
Buttons.hpp:224
Gosu::KB_SEMICOLON
Definition:
Buttons.hpp:65
Gosu::KB_V
Definition:
Buttons.hpp:92
Gosu::KB_DOWN
Definition:
Buttons.hpp:48
Gosu::KB_PAUSE
Definition:
Buttons.hpp:53
Gosu::GP_1_BUTTON_10
Definition:
Buttons.hpp:188
Gosu::GP_3_DPAD_LEFT
Definition:
Buttons.hpp:216
Gosu::KB_J
Definition:
Buttons.hpp:80
Gosu::KB_END
Definition:
Buttons.hpp:50
Gosu::GP_0_RIGHT
Definition:
Buttons.hpp:243
Gosu::KB_LEFT_CONTROL
Definition:
Buttons.hpp:38
Gosu::GP_2_BUTTON_9
Definition:
Buttons.hpp:208
Gosu::KB_F12
Definition:
Buttons.hpp:22
Gosu::GP_0_RIGHT_STICK_X_AXIS
Definition:
Buttons.hpp:279
Gosu::GP_1_BUTTON_9
Definition:
Buttons.hpp:187
Gosu::KB_9
Definition:
Buttons.hpp:32
Gosu::GP_DOWN
Definition:
Buttons.hpp:240
Gosu::KB_F6
Definition:
Buttons.hpp:16
Gosu::KB_NUMPAD_1
Definition:
Buttons.hpp:100
Gosu::GP_DPAD_DOWN
Definition:
Buttons.hpp:135
Generated by
1.8.13