summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-lg.h
diff options
context:
space:
mode:
authorSimon Wood <simon@mungewell.org>2010-09-22 13:19:42 +0200
committerJiri Kosina <jkosina@suse.cz>2010-09-22 13:25:39 +0200
commit32c88cbc3080f43c429f6456aa9cd845e37f3778 (patch)
tree18886cea811ef68ce20aea0fa975d8a3ca2b1589 /drivers/hid/hid-lg.h
parentfe2c91ee245bd81230f1d67645237a684b90be2b (diff)
downloadtalos-op-linux-32c88cbc3080f43c429f6456aa9cd845e37f3778.tar.gz
talos-op-linux-32c88cbc3080f43c429f6456aa9cd845e37f3778.zip
HID: Add support for Logitech Speed Force Wireless gaming wheel
The following patch adds support for the Logitech Speed Force Wireless gaming wheel. Originally designed for the WII console. Details on the protocol: http://wiibrew.org/wiki/Logitech_USB_steering_wheel This patch relies on previous patch: "Don't Send Feature Reports on Interrupt Endpoint" Logitech as produce a very similar wheel for the PS2/PS3, it is expected that this patch could also support the PS2/PS3 wheel if the USB ID's are added and (if required) the HID descriptor is modified. Signed-off-by: Simon Wood <simon@mungewell.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-lg.h')
-rw-r--r--drivers/hid/hid-lg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/hid/hid-lg.h b/drivers/hid/hid-lg.h
index ce2ac8672624..b0100ba2ae0b 100644
--- a/drivers/hid/hid-lg.h
+++ b/drivers/hid/hid-lg.h
@@ -19,4 +19,10 @@ int lg3ff_init(struct hid_device *hdev);
static inline int lg3ff_init(struct hid_device *hdev) { return -1; }
#endif
+#ifdef CONFIG_LOGIWII_FF
+int lg4ff_init(struct hid_device *hdev);
+#else
+static inline int lg4ff_init(struct hid_device *hdev) { return -1; }
+#endif
+
#endif
OpenPOWER on IntegriCloud