Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Pierre-Loup A. Griffais and committed by
Dmitry Torokhov
8fb1bcd0 77987b87

+1
+1
drivers/input/joystick/xpad.c
··· 493 493 XPAD_XBOXONE_VENDOR(0x24c6), /* PowerA Controllers */ 494 494 XPAD_XBOX360_VENDOR(0x2563), /* OneXPlayer Gamepad */ 495 495 XPAD_XBOX360_VENDOR(0x260d), /* Dareu H101 */ 496 + XPAD_XBOX360_VENDOR(0x2c22), /* Qanba Controllers */ 496 497 XPAD_XBOX360_VENDOR(0x2dc8), /* 8BitDo Pro 2 Wired Controller */ 497 498 XPAD_XBOXONE_VENDOR(0x2dc8), /* 8BitDo Pro 2 Wired Controller for Xbox */ 498 499 XPAD_XBOXONE_VENDOR(0x2e24), /* Hyperkin Duke X-Box One pad */