aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-lg.h
diff options
context:
space:
mode:
authorGary Stein <LordCnidarian@gmail.com>2010-01-12 18:25:58 -0500
committerJiri Kosina <jkosina@suse.cz>2010-01-12 18:26:31 -0500
commit74f292ca8c7a2b9370f80d97a49e48174f4c7635 (patch)
treea42e4260f003aff9ec76e1b80fd09e027cb79e57 /drivers/hid/hid-lg.h
parentd67dec5b2cc208215de21dc7806945bf6a6e85d0 (diff)
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 27ae750ca878..8069c3e8b64a 100644
--- a/drivers/hid/hid-lg.h
+++ b/drivers/hid/hid-lg.h
@@ -15,4 +15,10 @@ int lg2ff_init(struct hid_device *hdev);
15static inline int lg2ff_init(struct hid_device *hdev) { return -1; } 15static inline int lg2ff_init(struct hid_device *hdev) { return -1; }
16#endif 16#endif
17 17
18#ifdef CONFIG_LOGIG940_FF
19int lg3ff_init(struct hid_device *hdev);
20#else
21static inline int lg3ff_init(struct hid_device *hdev) { return -1; }
22#endif
23
18#endif 24#endif