mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 15:41:36 +00:00
a54dc7795e
Introduce a module parameter to disable automatic switch of Logitech gaming wheels from compatibility to native mode. This only applies to multimode wheels. Signed-off-by: Michal Malý <madcatxster@devoid-pointer.net> Tested-by: Simon Wood <simon@mungewell.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
28 lines
602 B
C
28 lines
602 B
C
#ifndef __HID_LG_H
|
|
#define __HID_LG_H
|
|
|
|
struct lg_drv_data {
|
|
unsigned long quirks;
|
|
void *device_props; /* Device specific properties */
|
|
};
|
|
|
|
#ifdef CONFIG_LOGITECH_FF
|
|
int lgff_init(struct hid_device *hdev);
|
|
#else
|
|
static inline int lgff_init(struct hid_device *hdev) { return -1; }
|
|
#endif
|
|
|
|
#ifdef CONFIG_LOGIRUMBLEPAD2_FF
|
|
int lg2ff_init(struct hid_device *hdev);
|
|
#else
|
|
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
|