1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Add support for new SDL gamecontroller keywords.

This commit is contained in:
Marcel Admiraal
2021-02-07 16:12:51 +00:00
parent 9fb27eba8d
commit 3dd57a22df
6 changed files with 72 additions and 6 deletions

View File

@@ -59,7 +59,13 @@ static const char *_button_names[JOY_BUTTON_MAX] = {
"D-Pad Up",
"D-Pad Down",
"D-Pad Left",
"D-Pad Right"
"D-Pad Right",
"Xbox Share, PS5 Microphone, Nintendo Capture",
"Xbox Paddle 1",
"Xbox Paddle 2",
"Xbox Paddle 3",
"Xbox Paddle 4",
"PS4/5 Touchpad",
};
static const char *_axis_names[JOY_AXIS_MAX * 2] = {