Input: xpad - use correct product id for x360w controllers
authorPavel Rojtberg <rojtberg@gmail.com>
Tue, 27 Dec 2016 19:44:51 +0000 (11:44 -0800)
committerWilly Tarreau <w@1wt.eu>
Tue, 20 Jun 2017 12:03:28 +0000 (14:03 +0200)
commite2c835ec044d59f9511f205cc358454fd6822d49
tree12f01dd8eff7bb47bb2edb0c12e92d0f87f090ed
parenta48d5b1570ac6f5fd02028e5a71431d1f7e778db
Input: xpad - use correct product id for x360w controllers

commit b6fc513da50c5dbc457a8ad6b58b046a6a68fd9d upstream.

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>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/input/joystick/xpad.c