summaryrefslogtreecommitdiffstats
path: root/core/input/input_event.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-02-08 13:47:01 +0100
committerGitHub <noreply@github.com>2021-02-08 13:47:01 +0100
commitc31bceb5f524c76e1a8d986926cca2092ea29fe0 (patch)
tree9c5dfa6bcc9c0838e7bd46eb1f221577f3f50ec7 /core/input/input_event.cpp
parente2a80a4be3ade5a3cb5b56840b3638d20c8698a8 (diff)
parent3d479d086ce77b160bd8698bebcd61691e2c95dc (diff)
downloadredot-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.cpp')
-rw-r--r--core/input/input_event.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/input/input_event.cpp b/core/input/input_event.cpp
index 2771a15b80..c91dc4d067 100644
--- a/core/input/input_event.cpp
+++ b/core/input/input_event.cpp
@@ -985,6 +985,12 @@ static const char *_joy_button_descriptions[JOY_BUTTON_SDL_MAX] = {
TTRC("D-pad Down"),
TTRC("D-pad Left"),
TTRC("D-pad Right"),
+ TTRC("Xbox Share, PS5 Microphone, Nintendo Capture"),
+ TTRC("Xbox Paddle 1"),
+ TTRC("Xbox Paddle 2"),
+ TTRC("Xbox Paddle 3"),
+ TTRC("Xbox Paddle 4"),
+ TTRC("PS4/5 Touchpad"),
};
String InputEventJoypadButton::as_text() const {