diff options
| author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2021-02-07 13:52:38 +0000 |
|---|---|---|
| committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2021-02-07 16:09:32 +0000 |
| commit | 3d479d086ce77b160bd8698bebcd61691e2c95dc (patch) | |
| tree | 5c741ca205c03a1a8856a61855cb63453fb38739 /core/input/input.cpp | |
| parent | b70836c8edd504e2f3e331ae30cd8d3c3c4b931c (diff) | |
| download | redot-engine-3d479d086ce77b160bd8698bebcd61691e2c95dc.tar.gz | |
Add support for new SDL gamecontroller keywords.
Diffstat (limited to 'core/input/input.cpp')
| -rw-r--r-- | core/input/input.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/input/input.cpp b/core/input/input.cpp index 2e3f112ebc..047aeb47fd 100644 --- a/core/input/input.cpp +++ b/core/input/input.cpp @@ -55,6 +55,12 @@ static const char *_joy_buttons[JOY_BUTTON_SDL_MAX] = { "dpdown", "dpleft", "dpright", + "misc1", + "paddle1", + "paddle2", + "paddle3", + "paddle4", + "touchpad", }; static const char *_joy_axes[JOY_AXIS_SDL_MAX] = { |
