All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Input: xpad - Add usb-ids for the XBOX360 controller built into the GPD win 2
@ 2018-06-07 10:15 Hans de Goede
  2018-06-07 10:22 ` Bastien Nocera
  0 siblings, 1 reply; 2+ messages in thread
From: Hans de Goede @ 2018-06-07 10:15 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: Hans de Goede, linux-input, stable

The GPD win 2 x86 portable game computer comes with a builtin XBOX360
controller with a vid:pid of 0079:18d4. Add support for this controller.

BugLink: https://www.reddit.com/r/gpdwin/comments/8l5vn8/gpd_win_2_gamepad_in_linux/
Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/input/joystick/xpad.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c
index 06e9650b3b30..c4f119a6e9d7 100644
--- a/drivers/input/joystick/xpad.c
+++ b/drivers/input/joystick/xpad.c
@@ -123,6 +123,7 @@ static const struct xpad_device {
 	u8 mapping;
 	u8 xtype;
 } xpad_device[] = {
+	{ 0x0079, 0x18d4, "GPD WIN 2", 0, XTYPE_XBOX360 },
 	{ 0x044f, 0x0f00, "Thrustmaster Wheel", 0, XTYPE_XBOX },
 	{ 0x044f, 0x0f03, "Thrustmaster Wheel", 0, XTYPE_XBOX },
 	{ 0x044f, 0x0f07, "Thrustmaster, Inc. Controller", 0, XTYPE_XBOX },
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Input: xpad - Add usb-ids for the XBOX360 controller built into the GPD win 2
  2018-06-07 10:15 [PATCH] Input: xpad - Add usb-ids for the XBOX360 controller built into the GPD win 2 Hans de Goede
@ 2018-06-07 10:22 ` Bastien Nocera
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien Nocera @ 2018-06-07 10:22 UTC (permalink / raw)
  To: Hans de Goede, Dmitry Torokhov; +Cc: linux-input, stable

On Thu, 2018-06-07 at 12:15 +0200, Hans de Goede wrote:
> The GPD win 2 x86 portable game computer comes with a builtin XBOX360
> controller with a vid:pid of 0079:18d4. Add support for this
> controller.

Already sent by Ethan last week...

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-07 10:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-07 10:15 [PATCH] Input: xpad - Add usb-ids for the XBOX360 controller built into the GPD win 2 Hans de Goede
2018-06-07 10:22 ` Bastien Nocera

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.