diff options
author | jagt <jagt@live.com> | 2017-10-23 13:36:50 +0800 |
---|---|---|
committer | jagt <jagt@live.com> | 2017-10-23 13:36:50 +0800 |
commit | 4e94292573db7e31ce7ca89315fdda0f415dab95 (patch) | |
tree | 30107f5404b0a0d987ca0c15be0a26e88690c414 /core/os | |
parent | 58b849800e57812dfee0b3ed3f4bd507d4f9c224 (diff) |
move button/joy constants to enums
Diffstat (limited to 'core/os')
-rw-r--r-- | core/os/input_event.h | 4 |
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, |