diff options
author | Gary Stein <LordCnidarian@gmail.com> | 2010-01-13 00:25:58 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-01-13 00:26:31 +0100 |
commit | 74f292ca8c7a2b9370f80d97a49e48174f4c7635 (patch) | |
tree | a42e4260f003aff9ec76e1b80fd09e027cb79e57 /drivers/hid/hid-lg.h | |
parent | d67dec5b2cc208215de21dc7806945bf6a6e85d0 (diff) | |
download | lwn-74f292ca8c7a2b9370f80d97a49e48174f4c7635.tar.gz lwn-74f292ca8c7a2b9370f80d97a49e48174f4c7635.zip |
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); 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 |