Input: HID - add support for Logitech Formula Force EX
Signed-off-by: Johann Deneux <johann.deneux@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
committed by
Dmitry Torokhov
parent
0d98f6bbd8
commit
130b1ab3f3
@@ -58,13 +58,17 @@ config HID_PID
|
|||||||
devices.
|
devices.
|
||||||
|
|
||||||
config LOGITECH_FF
|
config LOGITECH_FF
|
||||||
bool "Logitech WingMan *3D support"
|
bool "Logitech devices support"
|
||||||
depends on HID_FF
|
depends on HID_FF
|
||||||
select INPUT_FF_MEMLESS if USB_HID
|
select INPUT_FF_MEMLESS if USB_HID
|
||||||
help
|
help
|
||||||
Say Y here if you have one of these devices:
|
Say Y here if you have one of these devices:
|
||||||
- Logitech WingMan Cordless RumblePad
|
- Logitech WingMan Cordless RumblePad
|
||||||
|
- Logitech WingMan Cordless RumblePad 2
|
||||||
- Logitech WingMan Force 3D
|
- Logitech WingMan Force 3D
|
||||||
|
- Logitech Formula Force EX
|
||||||
|
- Logitech MOMO Force wheel
|
||||||
|
|
||||||
and if you want to enable force feedback for them.
|
and if you want to enable force feedback for them.
|
||||||
Note: if you say N here, this device will still be supported, but without
|
Note: if you say N here, this device will still be supported, but without
|
||||||
force feedback.
|
force feedback.
|
||||||
|
@@ -54,9 +54,10 @@ struct hid_ff_initializer {
|
|||||||
static struct hid_ff_initializer inits[] = {
|
static struct hid_ff_initializer inits[] = {
|
||||||
#ifdef CONFIG_LOGITECH_FF
|
#ifdef CONFIG_LOGITECH_FF
|
||||||
{ 0x46d, 0xc211, hid_lgff_init }, /* Logitech Cordless rumble pad */
|
{ 0x46d, 0xc211, hid_lgff_init }, /* Logitech Cordless rumble pad */
|
||||||
{ 0x46d, 0xc283, hid_lgff_init }, /* Logitech Wingman Force 3d */
|
|
||||||
{ 0x46d, 0xc295, hid_lgff_init }, /* Logitech MOMO force wheel */
|
|
||||||
{ 0x46d, 0xc219, hid_lgff_init }, /* Logitech Cordless rumble pad 2 */
|
{ 0x46d, 0xc219, hid_lgff_init }, /* Logitech Cordless rumble pad 2 */
|
||||||
|
{ 0x46d, 0xc283, hid_lgff_init }, /* Logitech Wingman Force 3d */
|
||||||
|
{ 0x46d, 0xc294, hid_lgff_init }, /* Logitech Formula Force EX */
|
||||||
|
{ 0x46d, 0xc295, hid_lgff_init }, /* Logitech MOMO force wheel */
|
||||||
{ 0x46d, 0xca03, hid_lgff_init }, /* Logitech MOMO force wheel */
|
{ 0x46d, 0xca03, hid_lgff_init }, /* Logitech MOMO force wheel */
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_PANTHERLORD_FF
|
#ifdef CONFIG_PANTHERLORD_FF
|
||||||
|
@@ -52,6 +52,8 @@ static const struct dev_type devices[] = {
|
|||||||
{ 0x046d, 0xc211, ff_rumble },
|
{ 0x046d, 0xc211, ff_rumble },
|
||||||
{ 0x046d, 0xc219, ff_rumble },
|
{ 0x046d, 0xc219, ff_rumble },
|
||||||
{ 0x046d, 0xc283, ff_joystick },
|
{ 0x046d, 0xc283, ff_joystick },
|
||||||
|
{ 0x046d, 0xc294, ff_joystick },
|
||||||
|
{ 0x046d, 0xc295, ff_joystick },
|
||||||
{ 0x046d, 0xca03, ff_joystick },
|
{ 0x046d, 0xca03, ff_joystick },
|
||||||
{ 0x0000, 0x0000, ff_joystick }
|
{ 0x0000, 0x0000, ff_joystick }
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user