From 09c89206a462409983026dbed1d138200f4b6a47 Mon Sep 17 00:00:00 2001 From: Daniel Gibson Date: Thu, 18 Jan 2024 03:11:23 +0100 Subject: [PATCH] Fix gamepad button names for nintendo gamepads oops, forgot to switch X and Y --- neo/sys/events.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/sys/events.cpp b/neo/sys/events.cpp index e37663dc..7a0eafde 100644 --- a/neo/sys/events.cpp +++ b/neo/sys/events.cpp @@ -309,7 +309,7 @@ const char* Sys_GetLocalizedJoyKeyName( int key ) { #else // SDL2 // South, East, West, North static const char* xboxBtnNames[4] = { "Pad A", "Pad B", "Pad X", "Pad Y" }; - static const char* nintendoBtnNames[4] = { "Pad B", "Pad A", "Pad X", "Pad Y" }; + static const char* nintendoBtnNames[4] = { "Pad B", "Pad A", "Pad Y", "Pad X" }; static const char* psBtnNames[4] = { "Pad Cross", "Pad Circle", "Pad Square", "Pad Triangle" }; int layout = joy_gamepadLayout.GetInteger();