* [PATCH v3] xpad: Add GPD Win 2 Controller USB IDs
@ 2018-05-31 1:14 flibitijibibo
2018-05-31 5:35 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: flibitijibibo @ 2018-05-31 1:14 UTC (permalink / raw)
To: linux-input; +Cc: stable, hadess, aicommander, Ethan Lee
From: Ethan Lee <flibitijibibo@gmail.com>
GPD Win 2 Website: http://www.gpd.hk/gpdwin2.asp
Tested on a unit from the first production run sent to Indiegogo backers
Signed-off-by: Ethan Lee <flibitijibibo@gmail.com>
---
drivers/input/joystick/xpad.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c
index 06e9650b3b30..a89b81b35932 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 Controller", 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 },
@@ -409,6 +410,7 @@ static const signed short xpad_abs_triggers[] = {
static const struct usb_device_id xpad_table[] = {
{ USB_INTERFACE_INFO('X', 'B', 0) }, /* X-Box USB-IF not approved class */
+ XPAD_XBOX360_VENDOR(0x0079), /* GPD Win 2 Controller */
XPAD_XBOX360_VENDOR(0x044f), /* Thrustmaster X-Box 360 controllers */
XPAD_XBOX360_VENDOR(0x045e), /* Microsoft X-Box 360 controllers */
XPAD_XBOXONE_VENDOR(0x045e), /* Microsoft X-Box One controllers */
--
2.13.6
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v3] xpad: Add GPD Win 2 Controller USB IDs
2018-05-31 1:14 [PATCH v3] xpad: Add GPD Win 2 Controller USB IDs flibitijibibo
@ 2018-05-31 5:35 ` Greg KH
2018-05-31 8:17 ` Bastien Nocera
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2018-05-31 5:35 UTC (permalink / raw)
To: flibitijibibo; +Cc: linux-input, stable, hadess, aicommander
On Wed, May 30, 2018 at 09:14:59PM -0400, flibitijibibo@gmail.com wrote:
> From: Ethan Lee <flibitijibibo@gmail.com>
>
> GPD Win 2 Website: http://www.gpd.hk/gpdwin2.asp
>
> Tested on a unit from the first production run sent to Indiegogo backers
>
> Signed-off-by: Ethan Lee <flibitijibibo@gmail.com>
> ---
> drivers/input/joystick/xpad.c | 2 ++
> 1 file changed, 2 insertions(+)
<formletter>
This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.
</formletter>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v3] xpad: Add GPD Win 2 Controller USB IDs
2018-05-31 5:35 ` Greg KH
@ 2018-05-31 8:17 ` Bastien Nocera
0 siblings, 0 replies; 3+ messages in thread
From: Bastien Nocera @ 2018-05-31 8:17 UTC (permalink / raw)
To: Greg KH, flibitijibibo; +Cc: linux-input, stable, aicommander
On Thu, 2018-05-31 at 07:35 +0200, Greg KH wrote:
> On Wed, May 30, 2018 at 09:14:59PM -0400, flibitijibibo@gmail.com
> wrote:
> > From: Ethan Lee <flibitijibibo@gmail.com>
> >
> > GPD Win 2 Website: http://www.gpd.hk/gpdwin2.asp
> >
> > Tested on a unit from the first production run sent to Indiegogo
> > backers
> >
> > Signed-off-by: Ethan Lee <flibitijibibo@gmail.com>
> > ---
> > drivers/input/joystick/xpad.c | 2 ++
> > 1 file changed, 2 insertions(+)
>
> <formletter>
>
> This is not the correct way to submit patches for inclusion in the
> stable kernel tree. Please read:
> https://www.kernel.org/doc/html/latest/process/stable-kernel-rule
> s.html
> for how to do this properly.
>
> </formletter>
- Please CC stable@ so your patch is picked up for stable releases
*adds stable@ to the CC: list in the mailed patch*
- Not in this way!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-05-31 8:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-31 1:14 [PATCH v3] xpad: Add GPD Win 2 Controller USB IDs flibitijibibo
2018-05-31 5:35 ` Greg KH
2018-05-31 8:17 ` 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.