Skip to content

Commit 36e093c

Browse files
niltonperimnetodtor
authored andcommitted
Input: xpad - add 8BitDo SN30 Pro, Hyperkin X91 and Gamesir G7 SE controllers
Add 8BitDo SN30 Pro, Hyperkin X91 and Gamesir G7 SE to the list of recognized controllers, and update vendor comments to match. Signed-off-by: Nilton Perim Neto <niltonperimneto@gmail.com> Link: https://lore.kernel.org/r/20250122214814.102311-2-niltonperimneto@gmail.com Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent c9ccb88 commit 36e093c

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

drivers/input/joystick/xpad.c

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,10 @@ static const struct xpad_device {
376376
{ 0x294b, 0x3404, "Snakebyte GAMEPAD RGB X", 0, XTYPE_XBOXONE },
377377
{ 0x2dc8, 0x2000, "8BitDo Pro 2 Wired Controller fox Xbox", 0, XTYPE_XBOXONE },
378378
{ 0x2dc8, 0x3106, "8BitDo Ultimate Wireless / Pro 2 Wired Controller", 0, XTYPE_XBOX360 },
379+
{ 0x2dc8, 0x6001, "8BitDo SN30 Pro", 0, XTYPE_XBOX360 },
379380
{ 0x2dc8, 0x310a, "8BitDo Ultimate 2C Wireless Controller", 0, XTYPE_XBOX360 },
380381
{ 0x2e24, 0x0652, "Hyperkin Duke X-Box One pad", 0, XTYPE_XBOXONE },
382+
{ 0x2e24, 0x1688, "Hyperkin X91 X-Box One pad", 0, XTYPE_XBOXONE },
381383
{ 0x31e3, 0x1100, "Wooting One", 0, XTYPE_XBOX360 },
382384
{ 0x31e3, 0x1200, "Wooting Two", 0, XTYPE_XBOX360 },
383385
{ 0x31e3, 0x1210, "Wooting Lekker", 0, XTYPE_XBOX360 },
@@ -389,6 +391,7 @@ static const struct xpad_device {
389391
{ 0x3285, 0x0646, "Nacon Pro Compact", 0, XTYPE_XBOXONE },
390392
{ 0x3285, 0x0663, "Nacon Evol-X", 0, XTYPE_XBOXONE },
391393
{ 0x3537, 0x1004, "GameSir T4 Kaleid", 0, XTYPE_XBOX360 },
394+
{ 0x3537, 0x1010, "GameSir G7 SE", 0, XTYPE_XBOXONE },
392395
{ 0x3767, 0x0101, "Fanatec Speedster 3 Forceshock Wheel", 0, XTYPE_XBOX },
393396
{ 0xffff, 0xffff, "Chinese-made Xbox Controller", 0, XTYPE_XBOX },
394397
{ 0x0000, 0x0000, "Generic X-Box pad", 0, XTYPE_UNKNOWN }
@@ -528,12 +531,12 @@ static const struct usb_device_id xpad_table[] = {
528531
XPAD_XBOXONE_VENDOR(0x24c6), /* PowerA controllers */
529532
XPAD_XBOX360_VENDOR(0x2563), /* OneXPlayer Gamepad */
530533
XPAD_XBOX360_VENDOR(0x260d), /* Dareu H101 */
531-
XPAD_XBOXONE_VENDOR(0x294b), /* Snakebyte */
534+
XPAD_XBOXONE_VENDOR(0x294b), /* Snakebyte */
532535
XPAD_XBOX360_VENDOR(0x2c22), /* Qanba Controllers */
533-
XPAD_XBOX360_VENDOR(0x2dc8), /* 8BitDo Pro 2 Wired Controller */
534-
XPAD_XBOXONE_VENDOR(0x2dc8), /* 8BitDo Pro 2 Wired Controller for Xbox */
535-
XPAD_XBOXONE_VENDOR(0x2e24), /* Hyperkin Duke Xbox One pad */
536-
XPAD_XBOX360_VENDOR(0x2f24), /* GameSir controllers */
536+
XPAD_XBOX360_VENDOR(0x2dc8), /* 8BitDo Controllers */
537+
XPAD_XBOXONE_VENDOR(0x2dc8), /* 8BitDo Controllers */
538+
XPAD_XBOXONE_VENDOR(0x2e24), /* Hyperkin Controllers */
539+
XPAD_XBOX360_VENDOR(0x2f24), /* GameSir Controllers */
537540
XPAD_XBOX360_VENDOR(0x31e3), /* Wooting Keyboards */
538541
XPAD_XBOX360_VENDOR(0x3285), /* Nacon GC-100 */
539542
XPAD_XBOXONE_VENDOR(0x3285), /* Nacon Evol-X */

0 commit comments

Comments
 (0)