* [PATCH] HID: add USB ID for Jess Tech USB 4-Axis 12-Button Gamepad in hid-pl
@ 2011-04-08 0:25 Kenney Phillis
0 siblings, 0 replies; 2+ messages in thread
From: Kenney Phillis @ 2011-04-08 0:25 UTC (permalink / raw)
To: linux-input
Add support for 0f30:0107 device into hid-pl driver. This device has
the values in separate fields and resembles devices handled by hid-zpff.
---
drivers/hid/hid-core.c | 1 +
drivers/hid/hid-ids.h | 3 +++
drivers/hid/hid-pl.c | 5 +++++
3 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index d7cb7aa..8e4dcd3 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -1754,6 +1754,7 @@ static const struct hid_device_id
hid_ignore_list[] = {
{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_1007) },
{ HID_USB_DEVICE(USB_VENDOR_ID_IMATION, USB_DEVICE_ID_DISC_STAKKA) },
{ HID_USB_DEVICE(USB_VENDOR_ID_JESS, USB_DEVICE_ID_JESS_YUREX) },
+ { HID_USB_DEVICE(USB_VENDOR_ID_JESSTECH,
USB_DEVICE_ID_JESSTECH_GAMEPAD) },
{ HID_USB_DEVICE(USB_VENDOR_ID_KBGEAR,
USB_DEVICE_ID_KBGEAR_JAMSTUDIO) },
{ HID_USB_DEVICE(USB_VENDOR_ID_KWORLD,
USB_DEVICE_ID_KWORLD_RADIO_FM700) },
{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_GPEN_560) },
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index c0bda19..1ce39a0 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -345,6 +345,9 @@
#define USB_VENDOR_ID_JESS 0x0c45
#define USB_DEVICE_ID_JESS_YUREX 0x1010
+#define USB_VENDOR_ID_JESSTECH 0x0f30
+#define USB_DEVICE_ID_JESSTECH_GAMEPAD 0x0107
+
#define USB_VENDOR_ID_KBGEAR 0x084e
#define USB_DEVICE_ID_KBGEAR_JAMSTUDIO 0x1001
diff --git a/drivers/hid/hid-pl.c b/drivers/hid/hid-pl.c
index 46d117d..922ce47 100644
--- a/drivers/hid/hid-pl.c
+++ b/drivers/hid/hid-pl.c
@@ -17,6 +17,9 @@
* 187c:0600 "Alienware Dual Compatible Game Pad"
* - USB/PS2 Game Controller with Alienware branding.
*
+ * 0f30:0107 "Jess Tech USB 4-Axis 12-Button Gamepad"
+ * - tested with the Game Elements Cobra Recoil: GGE908
+ *
* Copyright (c) 2007, 2009 Anssi Hannula <anssi.hannula@gmail.com>
*/
@@ -211,6 +214,8 @@ static const struct hid_device_id pl_devices[] = {
{ HID_USB_DEVICE(USB_VENDOR_ID_GAMERON,
USB_DEVICE_ID_GAMERON_DUAL_PCS_ADAPTOR),
.driver_data = 1 }, /* Twin USB Joystick */
{ HID_USB_DEVICE(USB_VENDOR_ID_GREENASIA, 0x0003), },
+ { HID_USB_DEVICE(USB_VENDOR_ID_JESSTECH,
USB_DEVICE_ID_JESSTECH_GAMEPAD) },
+ /* Jess tech USB 4-Axis 12-Button Gamepad */
{ }
};
MODULE_DEVICE_TABLE(hid, pl_devices);
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] HID: add USB ID for Jess Tech USB 4-Axis 12-Button Gamepad in hid-pl
@ 2011-04-10 15:57 Kenney Phillis
0 siblings, 0 replies; 2+ messages in thread
From: Kenney Phillis @ 2011-04-10 15:57 UTC (permalink / raw)
To: linux-input
Add support for 0f30:0107 device into hid-pl driver. This device has
the values in separate fields and resembles devices handled by hid-zpff.
Signed-off-by: Kenney Phillis <kphillisjr@gmail.com>
---
Forgot to sign the last email.
The tests for the modifications used the fftest tool. The only effects not
working are called 'Dampening Condition', 'Constant Force' and
'Spring Condition'.
drivers/hid/hid-core.c | 1 +
drivers/hid/hid-ids.h | 3 +++
drivers/hid/hid-pl.c | 5 +++++
3 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index d7cb7aa..8e4dcd3 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -1754,6 +1754,7 @@ static const struct hid_device_id
hid_ignore_list[] = {
{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_1007) },
{ HID_USB_DEVICE(USB_VENDOR_ID_IMATION, USB_DEVICE_ID_DISC_STAKKA) },
{ HID_USB_DEVICE(USB_VENDOR_ID_JESS, USB_DEVICE_ID_JESS_YUREX) },
+ { HID_USB_DEVICE(USB_VENDOR_ID_JESSTECH,
USB_DEVICE_ID_JESSTECH_GAMEPAD) },
{ HID_USB_DEVICE(USB_VENDOR_ID_KBGEAR,
USB_DEVICE_ID_KBGEAR_JAMSTUDIO) },
{ HID_USB_DEVICE(USB_VENDOR_ID_KWORLD,
USB_DEVICE_ID_KWORLD_RADIO_FM700) },
{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_GPEN_560) },
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index c0bda19..1ce39a0 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -345,6 +345,9 @@
#define USB_VENDOR_ID_JESS 0x0c45
#define USB_DEVICE_ID_JESS_YUREX 0x1010
+#define USB_VENDOR_ID_JESSTECH 0x0f30
+#define USB_DEVICE_ID_JESSTECH_GAMEPAD 0x0107
+
#define USB_VENDOR_ID_KBGEAR 0x084e
#define USB_DEVICE_ID_KBGEAR_JAMSTUDIO 0x1001
diff --git a/drivers/hid/hid-pl.c b/drivers/hid/hid-pl.c
index 46d117d..922ce47 100644
--- a/drivers/hid/hid-pl.c
+++ b/drivers/hid/hid-pl.c
@@ -17,6 +17,9 @@
* 187c:0600 "Alienware Dual Compatible Game Pad"
* - USB/PS2 Game Controller with Alienware branding.
*
+ * 0f30:0107 "Jess Tech USB 4-Axis 12-Button Gamepad"
+ * - tested with the Game Elements Cobra Recoil: GGE908
+ *
* Copyright (c) 2007, 2009 Anssi Hannula <anssi.hannula@gmail.com>
*/
@@ -211,6 +214,8 @@ static const struct hid_device_id pl_devices[] = {
{ HID_USB_DEVICE(USB_VENDOR_ID_GAMERON,
USB_DEVICE_ID_GAMERON_DUAL_PCS_ADAPTOR),
.driver_data = 1 }, /* Twin USB Joystick */
{ HID_USB_DEVICE(USB_VENDOR_ID_GREENASIA, 0x0003), },
+ { HID_USB_DEVICE(USB_VENDOR_ID_JESSTECH,
USB_DEVICE_ID_JESSTECH_GAMEPAD) },
+ /* Jess tech USB 4-Axis 12-Button Gamepad */
{ }
};
MODULE_DEVICE_TABLE(hid, pl_devices);
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-10 15:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-08 0:25 [PATCH] HID: add USB ID for Jess Tech USB 4-Axis 12-Button Gamepad in hid-pl Kenney Phillis
-- strict thread matches above, loose matches on Subject: below --
2011-04-10 15:57 Kenney Phillis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).