SDL: The PowerA Nintendo Switch Fusion Pro Controller has a working USB mode, enabled via the switch on the underside of the...

From 243a8836afb8f194fc11eae6ff2b592050a19aa0 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 30 Jul 2021 18:23:41 -0700
Subject: [PATCH] The PowerA Nintendo Switch Fusion Pro Controller has a
 working USB mode, enabled via the switch on the underside of the controller.

---
 src/joystick/SDL_joystick.c    | 1 -
 src/joystick/controller_type.h | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c
index e0f27a66b6..37e73d1245 100644
--- a/src/joystick/SDL_joystick.c
+++ b/src/joystick/SDL_joystick.c
@@ -2350,7 +2350,6 @@ SDL_bool SDL_ShouldIgnoreJoystick(const char *name, SDL_JoystickGUID guid)
         MAKE_VIDPID(0x04d9, 0x8009),  /* OBINLB USB-HID Keyboard */
 
         MAKE_VIDPID(0x0e6f, 0x0186),  /* PDP Afterglow Wireless Switch Controller - USB charging, no input */
-        MAKE_VIDPID(0x20d6, 0xa716),  /* PowerA Nintendo Switch Fusion Pro Controller - USB charging, no input */
     };
 
     unsigned int i;
diff --git a/src/joystick/controller_type.h b/src/joystick/controller_type.h
index 85e63062cb..3b33d6e851 100644
--- a/src/joystick/controller_type.h
+++ b/src/joystick/controller_type.h
@@ -581,7 +581,7 @@ static const ControllerDescription_t arrControllers[] = {
 	{ MAKE_CONTROLLER_ID( 0x20d6, 0xa712 ), k_eControllerType_SwitchInputOnlyController, NULL },  // PowerA Nintendo Switch Fusion Fight Pad
 	{ MAKE_CONTROLLER_ID( 0x20d6, 0xa713 ), k_eControllerType_SwitchInputOnlyController, NULL },  // PowerA Super Mario Controller
 	{ MAKE_CONTROLLER_ID( 0x20d6, 0xa714 ), k_eControllerType_SwitchInputOnlyController, NULL },  // PowerA Nintendo Switch Spectra Controller
-	{ MAKE_CONTROLLER_ID( 0x20d6, 0xa716 ), k_eControllerType_SwitchInputOnlyController, NULL },  // PowerA Nintendo Switch Fusion Pro Controller - USB charging, no input
+	{ MAKE_CONTROLLER_ID( 0x20d6, 0xa716 ), k_eControllerType_SwitchInputOnlyController, NULL },  // PowerA Nintendo Switch Fusion Pro Controller
 	{ MAKE_CONTROLLER_ID( 0x0e6f, 0x0186 ), k_eControllerType_SwitchProController, NULL },  // PDP Afterglow Wireless Switch Controller - working gyro. USB doesn't work
 	{ MAKE_CONTROLLER_ID( 0x0e6f, 0x0184 ), k_eControllerType_SwitchInputOnlyController, NULL },  // PDP Faceoff Wired Deluxe+ Audio Controller
 	{ MAKE_CONTROLLER_ID( 0x0f0d, 0x00aa ), k_eControllerType_SwitchInputOnlyController, NULL },  // HORI Real Arcade Pro V Hayabusa in Switch Mode