mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-11 15:16:43 +07:00
32c88cbc30
The following patch adds support for the Logitech Speed Force Wireless gaming wheel. Originally designed for the WII console. Details on the protocol: http://wiibrew.org/wiki/Logitech_USB_steering_wheel This patch relies on previous patch: "Don't Send Feature Reports on Interrupt Endpoint" Logitech as produce a very similar wheel for the PS2/PS3, it is expected that this patch could also support the PS2/PS3 wheel if the USB ID's are added and (if required) the HID descriptor is modified. Signed-off-by: Simon Wood <simon@mungewell.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
29 lines
649 B
C
29 lines
649 B
C
#ifndef __HID_LG_H
|
|
#define __HID_LG_H
|
|
|
|
#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
|
|
|
|
#ifdef CONFIG_LOGIWII_FF
|
|
int lg4ff_init(struct hid_device *hdev);
|
|
#else
|
|
static inline int lg4ff_init(struct hid_device *hdev) { return -1; }
|
|
#endif
|
|
|
|
#endif
|