Input: xpad - use correct product id for x360w controllers
commitb6fc513da50c5dbc457a8ad6b58b046a6a68fd9d
authorPavel Rojtberg <rojtberg@gmail.com>
Tue, 27 Dec 2016 19:44:51 +0000 (27 11:44 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 27 Dec 2016 21:19:31 +0000 (27 13:19 -0800)
tree2a2f5abd6b2da9318c4d4ce3561f404fc0194066
parent67626c9323027534496d21cf32793121662d03c0
Input: xpad - use correct product id for x360w controllers

currently the controllers get the same product id as the wireless
receiver. However the controllers actually have their own product id.

The patch makes the driver expose the same product id as the windows
driver.

This improves compatibility when running applications with WINE.

see https://github.com/paroj/xpad/issues/54

Signed-off-by: Pavel Rojtberg <rojtberg@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/xpad.c