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 - add support for Xbox1 PDP Camo series gamepad

The "Xbox One PDP Wired Controller - Camo series" has a different
product-id than the regular PDP controller and the PDP stealth series,
but it uses the same initialization sequence. This patch adds the
product-id of the camo series to the structures that handle the other
PDP Xbox One controllers.

Signed-off-by: Ramses Ramírez <ramzeto@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Ramses Ramírez and committed by
Dmitry Torokhov
9735082a 4fef1250

+3
+3
drivers/input/joystick/xpad.c
··· 231 231 { 0x0e6f, 0x0246, "Rock Candy Gamepad for Xbox One 2015", 0, XTYPE_XBOXONE }, 232 232 { 0x0e6f, 0x02ab, "PDP Controller for Xbox One", 0, XTYPE_XBOXONE }, 233 233 { 0x0e6f, 0x02a4, "PDP Wired Controller for Xbox One - Stealth Series", 0, XTYPE_XBOXONE }, 234 + { 0x0e6f, 0x02a6, "PDP Wired Controller for Xbox One - Camo Series", 0, XTYPE_XBOXONE }, 234 235 { 0x0e6f, 0x0301, "Logic3 Controller", 0, XTYPE_XBOX360 }, 235 236 { 0x0e6f, 0x0346, "Rock Candy Gamepad for Xbox One 2016", 0, XTYPE_XBOXONE }, 236 237 { 0x0e6f, 0x0401, "Logic3 Controller", 0, XTYPE_XBOX360 }, ··· 531 530 XBOXONE_INIT_PKT(0x0e6f, 0x02ab, xboxone_pdp_init2), 532 531 XBOXONE_INIT_PKT(0x0e6f, 0x02a4, xboxone_pdp_init1), 533 532 XBOXONE_INIT_PKT(0x0e6f, 0x02a4, xboxone_pdp_init2), 533 + XBOXONE_INIT_PKT(0x0e6f, 0x02a6, xboxone_pdp_init1), 534 + XBOXONE_INIT_PKT(0x0e6f, 0x02a6, xboxone_pdp_init2), 534 535 XBOXONE_INIT_PKT(0x24c6, 0x541a, xboxone_rumblebegin_init), 535 536 XBOXONE_INIT_PKT(0x24c6, 0x542a, xboxone_rumblebegin_init), 536 537 XBOXONE_INIT_PKT(0x24c6, 0x543a, xboxone_rumblebegin_init),