summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-lg.h
diff options
context:
space:
mode:
authorGary Stein <LordCnidarian@gmail.com>2010-01-12 23:25:58 (GMT)
committerJiri Kosina <jkosina@suse.cz>2010-01-12 23:26:31 (GMT)
commit74f292ca8c7a2b9370f80d97a49e48174f4c7635 (patch)
treea42e4260f003aff9ec76e1b80fd09e027cb79e57 /drivers/hid/hid-lg.h
parentd67dec5b2cc208215de21dc7806945bf6a6e85d0 (diff)
downloadlinux-74f292ca8c7a2b9370f80d97a49e48174f4c7635.tar.xz
HID: add driver for the Logitech Flight System G940
Implements a new USB-HID for Force Feedback based on the normal Logitech Force Feedback code and FF-Memless. Currently only supports the FF_CONSTANT effect although the joystick appears to support additional non-standard ones. Signed-off-by: Gary Stein <LordCnidarian@gmail.com> 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 27ae750..8069c3e 100644
--- a/drivers/hid/hid-lg.h
+++ b/drivers/hid/hid-lg.h
@@ -15,4 +15,10 @@ int lg2ff_init(struct hid_device *hdev);
static inline int lg2ff_init(struct hid_device *hdev) { return -1; }
#endif
+#ifdef CONFIG_LOGIG940_FF
+int lg3ff_init(struct hid_device *hdev);
+#else
+static inline int lg3ff_init(struct hid_device *hdev) { return -1; }
+#endif
+
#endif