1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

Fix game controllers ignoring the last listed button

This commit is contained in:
Marcel Admiraal
2021-05-21 17:17:42 +01:00
parent 87dfd6e6cb
commit 18825ad4ff
6 changed files with 28 additions and 16 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",