1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix game controllers ignoring the last listed button

(cherry picked from commit 18825ad4ff)
This commit is contained in:
Marcel Admiraal
2021-05-21 17:17:42 +01:00
committed by Rémi Verschelde
parent f7e9467441
commit 3c55a9c210
6 changed files with 28 additions and 18 deletions

View File

@@ -60,6 +60,7 @@ static const char *_button_names[JOY_BUTTON_MAX] = {
"D-Pad Down",
"D-Pad Left",
"D-Pad Right",
"Home, DualShock PS, Guide",
"Xbox Share, PS5 Microphone, Nintendo Capture",
"Xbox Paddle 1",
"Xbox Paddle 2",