diff options
author | Gary Stein <LordCnidarian@gmail.com> | 2010-01-12 18:25:58 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-01-12 18:26:31 -0500 |
commit | 74f292ca8c7a2b9370f80d97a49e48174f4c7635 (patch) | |
tree | a42e4260f003aff9ec76e1b80fd09e027cb79e57 /drivers/hid/hid-lg.h | |
parent | d67dec5b2cc208215de21dc7806945bf6a6e85d0 (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.h | 6 |
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); | |||
15 | static inline int lg2ff_init(struct hid_device *hdev) { return -1; } | 15 | static inline int lg2ff_init(struct hid_device *hdev) { return -1; } |
16 | #endif | 16 | #endif |
17 | 17 | ||
18 | #ifdef CONFIG_LOGIG940_FF | ||
19 | int lg3ff_init(struct hid_device *hdev); | ||
20 | #else | ||
21 | static inline int lg3ff_init(struct hid_device *hdev) { return -1; } | ||
22 | #endif | ||
23 | |||
18 | #endif | 24 | #endif |