SDL: Don't try to use the charging port for the PowerA wireless controller as an input device

From f6c2c22d38afbbfbb1c5b7caab29f3302a57e9f1 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 25 Aug 2022 22:25:25 -0700
Subject: [PATCH] Don't try to use the charging port for the PowerA wireless
 controller as an input device

---
 src/joystick/SDL_joystick.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c
index ba2918b2ece..80edea58b9f 100644
--- a/src/joystick/SDL_joystick.c
+++ b/src/joystick/SDL_joystick.c
@@ -2618,6 +2618,7 @@ SDL_bool SDL_ShouldIgnoreJoystick(const char *name, SDL_JoystickGUID guid)
         MAKE_VIDPID(0x1532, 0x0266),  /* Razer Huntman V2 Analog, non-functional DInput device */
         MAKE_VIDPID(0x1532, 0x0282),  /* Razer Huntman Mini Analog, non-functional DInput device */
         MAKE_VIDPID(0x26ce, 0x01a2),  /* ASRock LED Controller */
+        MAKE_VIDPID(0x20d6, 0x0002),  /* PowerA Enhanced Wireless Controller for Nintendo Switch (charging port only) */
     };
 
     static Uint32 rog_chakram_list[] = {