diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2021-02-08 13:47:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-08 13:47:01 +0100 |
| commit | c31bceb5f524c76e1a8d986926cca2092ea29fe0 (patch) | |
| tree | 9c5dfa6bcc9c0838e7bd46eb1f221577f3f50ec7 /core/input/input_event.h | |
| parent | e2a80a4be3ade5a3cb5b56840b3638d20c8698a8 (diff) | |
| parent | 3d479d086ce77b160bd8698bebcd61691e2c95dc (diff) | |
| download | redot-engine-c31bceb5f524c76e1a8d986926cca2092ea29fe0.tar.gz | |
Merge pull request #45797 from madmiraal/add-new-sdl-keywords
Add support for new SDL gamecontroller keywords.
Diffstat (limited to 'core/input/input_event.h')
| -rw-r--r-- | core/input/input_event.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/input/input_event.h b/core/input/input_event.h index 1500faa24c..a354119cf9 100644 --- a/core/input/input_event.h +++ b/core/input/input_event.h @@ -76,7 +76,13 @@ enum JoyButtonList { JOY_BUTTON_DPAD_DOWN = 12, JOY_BUTTON_DPAD_LEFT = 13, JOY_BUTTON_DPAD_RIGHT = 14, - JOY_BUTTON_SDL_MAX = 15, + JOY_BUTTON_MISC1 = 15, + JOY_BUTTON_PADDLE1 = 16, + JOY_BUTTON_PADDLE2 = 17, + JOY_BUTTON_PADDLE3 = 18, + JOY_BUTTON_PADDLE4 = 19, + JOY_BUTTON_TOUCHPAD = 20, + JOY_BUTTON_SDL_MAX = 21, JOY_BUTTON_MAX = 36, // Android supports up to 36 buttons. }; |
