aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/input
diff options
context:
space:
mode:
authorValentin Zagura <puthre@gmail.com>2007-02-18 01:41:27 -0500
committerDmitry Torokhov <dtor@insightbb.com>2007-02-18 01:41:27 -0500
commit130b1ab3f3dba350a949ae44a39c9beebddc09b9 (patch)
tree08d038b57425289c7ecf9eb1f29a7b94a8fd7d6d /drivers/usb/input
parent0d98f6bbd8d62c2c7a9924e0b3e5068cc28173b0 (diff)
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>
Diffstat (limited to 'drivers/usb/input')
-rw-r--r--drivers/usb/input/Kconfig6
-rw-r--r--drivers/usb/input/hid-ff.c3
-rw-r--r--drivers/usb/input/hid-lgff.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/drivers/usb/input/Kconfig b/drivers/usb/input/Kconfig
index 2e71d3cca198..69a9f3b6d0a9 100644
--- a/drivers/usb/input/Kconfig
+++ b/drivers/usb/input/Kconfig
@@ -58,13 +58,17 @@ config HID_PID
58 devices. 58 devices.
59 59
60config LOGITECH_FF 60config LOGITECH_FF
61 bool "Logitech WingMan *3D support" 61 bool "Logitech devices support"
62 depends on HID_FF 62 depends on HID_FF
63 select INPUT_FF_MEMLESS if USB_HID 63 select INPUT_FF_MEMLESS if USB_HID
64 help 64 help
65 Say Y here if you have one of these devices: 65 Say Y here if you have one of these devices:
66 - Logitech WingMan Cordless RumblePad 66 - Logitech WingMan Cordless RumblePad
67 - Logitech WingMan Cordless RumblePad 2
67 - Logitech WingMan Force 3D 68 - Logitech WingMan Force 3D
69 - Logitech Formula Force EX
70 - Logitech MOMO Force wheel
71
68 and if you want to enable force feedback for them. 72 and if you want to enable force feedback for them.
69 Note: if you say N here, this device will still be supported, but without 73 Note: if you say N here, this device will still be supported, but without
70 force feedback. 74 force feedback.
diff --git a/drivers/usb/input/hid-ff.c b/drivers/usb/input/hid-ff.c
index bc7f8e6f8c97..e431faaa6abc 100644
--- a/drivers/usb/input/hid-ff.c
+++ b/drivers/usb/input/hid-ff.c
@@ -54,9 +54,10 @@ struct hid_ff_initializer {
54static struct hid_ff_initializer inits[] = { 54static struct hid_ff_initializer inits[] = {
55#ifdef CONFIG_LOGITECH_FF 55#ifdef CONFIG_LOGITECH_FF
56 { 0x46d, 0xc211, hid_lgff_init }, /* Logitech Cordless rumble pad */ 56 { 0x46d, 0xc211, hid_lgff_init }, /* Logitech Cordless rumble pad */
57 { 0x46d, 0xc219, hid_lgff_init }, /* Logitech Cordless rumble pad 2 */
57 { 0x46d, 0xc283, hid_lgff_init }, /* Logitech Wingman Force 3d */ 58 { 0x46d, 0xc283, hid_lgff_init }, /* Logitech Wingman Force 3d */
59 { 0x46d, 0xc294, hid_lgff_init }, /* Logitech Formula Force EX */
58 { 0x46d, 0xc295, hid_lgff_init }, /* Logitech MOMO force wheel */ 60 { 0x46d, 0xc295, hid_lgff_init }, /* Logitech MOMO force wheel */
59 { 0x46d, 0xc219, hid_lgff_init }, /* Logitech Cordless rumble pad 2 */
60 { 0x46d, 0xca03, hid_lgff_init }, /* Logitech MOMO force wheel */ 61 { 0x46d, 0xca03, hid_lgff_init }, /* Logitech MOMO force wheel */
61#endif 62#endif
62#ifdef CONFIG_PANTHERLORD_FF 63#ifdef CONFIG_PANTHERLORD_FF
diff --git a/drivers/usb/input/hid-lgff.c b/drivers/usb/input/hid-lgff.c
index 4df0968f852e..d1a4dffd30f1 100644
--- a/drivers/usb/input/hid-lgff.c
+++ b/drivers/usb/input/hid-lgff.c
@@ -52,6 +52,8 @@ static const struct dev_type devices[] = {
52 { 0x046d, 0xc211, ff_rumble }, 52 { 0x046d, 0xc211, ff_rumble },
53 { 0x046d, 0xc219, ff_rumble }, 53 { 0x046d, 0xc219, ff_rumble },
54 { 0x046d, 0xc283, ff_joystick }, 54 { 0x046d, 0xc283, ff_joystick },
55 { 0x046d, 0xc294, ff_joystick },
56 { 0x046d, 0xc295, ff_joystick },
55 { 0x046d, 0xca03, ff_joystick }, 57 { 0x046d, 0xca03, ff_joystick },
56 { 0x0000, 0x0000, ff_joystick } 58 { 0x0000, 0x0000, ff_joystick }
57}; 59};