Skip to content

Commit 8fb1bcd

Browse files
Plagmandtor
authored andcommitted
Input: xpad - treat Qanba controllers as Xbox360 controllers
They act that way in PC mode. Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Pierre-Loup A. Griffais <pgriffais@valvesoftware.com> Signed-off-by: Vicki Pfau <vi@endrift.com> Link: https://lore.kernel.org/r/20230324040446.3487725-2-vi@endrift.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 77987b8 commit 8fb1bcd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/input/joystick/xpad.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ static const struct usb_device_id xpad_table[] = {
493493
XPAD_XBOXONE_VENDOR(0x24c6), /* PowerA Controllers */
494494
XPAD_XBOX360_VENDOR(0x2563), /* OneXPlayer Gamepad */
495495
XPAD_XBOX360_VENDOR(0x260d), /* Dareu H101 */
496+
XPAD_XBOX360_VENDOR(0x2c22), /* Qanba Controllers */
496497
XPAD_XBOX360_VENDOR(0x2dc8), /* 8BitDo Pro 2 Wired Controller */
497498
XPAD_XBOXONE_VENDOR(0x2dc8), /* 8BitDo Pro 2 Wired Controller for Xbox */
498499
XPAD_XBOXONE_VENDOR(0x2e24), /* Hyperkin Duke X-Box One pad */

0 commit comments

Comments
 (0)