Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1457496

[PATCH] joystick: xpad.c, new xbox controller ID (Hori Real Arcade Pro.V)

From Philippe PITTOLI <karchnu@karchnu.fr>
Newsgroups linux.kernel
Subject [PATCH] joystick: xpad.c, new xbox controller ID (Hori Real Arcade Pro.V)
Date 2016-08-08 00:10 +0200
Message-ID <s3EqB-1d7-17@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] joystick: xpad.c, new xbox controller ID (Hori Real Arcade  Pro.V) Philippe PITTOLI <karchnu@karchnu.fr> - 2016-08-08 00:10 +0200

csiph-web