* [PATCH] joystick: xpad.c, new xbox controller ID (Hori Real Arcade Pro.V)
@ 2016-08-07 21:58 Philippe PITTOLI
0 siblings, 0 replies; only message in thread
From: Philippe PITTOLI @ 2016-08-07 21:58 UTC (permalink / raw)
To: dmitry.torokhov, linux-input, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1063 bytes --]
Hello,
I added a controller ID to the xbox driver for the Real Aracade Pro V
controller from Hori.
It's my first patch, and I followed the guidances from the
kernelnewbies.org website, I hope it'll be ok.
Thanks,
---
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 83af17a..ec5a670 100644
--- a/drivers/input/joystick/xpad.c
+++ b/drivers/input/joystick/xpad.c
@@ -190,6 +190,7 @@ static const struct xpad_device {
{ 0x0f0d, 0x000a, "Hori Co. DOA4 FightStick", 0, XTYPE_XBOX360 },
{ 0x0f0d, 0x000d, "Hori Fighting Stick EX2", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
{ 0x0f0d, 0x0016, "Hori Real Arcade Pro.EX", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
+ { 0x0f0d, 0x0063, "Hori Real Arcade Pro.V", 0, XTYPE_XBOXONE },
{ 0x0f0d, 0x0067, "HORIPAD ONE", 0, XTYPE_XBOXONE },
{ 0x0f30, 0x0202, "Joytech Advanced Controller", 0, XTYPE_XBOX },
{ 0x0f30, 0x8888, "BigBen XBMiniPad Controller", 0, XTYPE_XBOX },
--
2.5.0
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-08-07 22:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-07 21:58 [PATCH] joystick: xpad.c, new xbox controller ID (Hori Real Arcade Pro.V) Philippe PITTOLI
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox