summaryrefslogtreecommitdiffstats
path: root/core/os/input_event.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-10-23 23:11:05 +0200
committerGitHub <noreply@github.com>2017-10-23 23:11:05 +0200
commit4e0e513d5f420a11926e42f37a3bad48629f953e (patch)
tree127dfb35270b3aeb2792f60d387156a8d1b1fb2c /core/os/input_event.h
parent832a5369ef061a11c3a44ef0b51f667fef676e23 (diff)
parent4e94292573db7e31ce7ca89315fdda0f415dab95 (diff)
downloadredot-engine-4e0e513d5f420a11926e42f37a3bad48629f953e.tar.gz
Merge pull request #12341 from jagt/move-button-joy-enums
Move BUTTON and JOY constants to enums
Diffstat (limited to 'core/os/input_event.h')
-rw-r--r--core/os/input_event.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/os/input_event.h b/core/os/input_event.h
index 5dc0f91d5f..f2c8cc802d 100644
--- a/core/os/input_event.h
+++ b/core/os/input_event.h
@@ -44,7 +44,7 @@
* The events are pretty obvious.
*/
-enum {
+enum ButtonList {
BUTTON_LEFT = 1,
BUTTON_RIGHT = 2,
BUTTON_MIDDLE = 3,
@@ -58,7 +58,7 @@ enum {
};
-enum {
+enum JoystickList {
JOY_BUTTON_0 = 0,
JOY_BUTTON_1 = 1,