summaryrefslogtreecommitdiff
path: root/drivers/usb/input/hid-ff.c
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@gmail.com>2006-07-19 09:44:17 +0400
committerDmitry Torokhov <dtor@insightbb.com>2006-07-19 09:44:17 +0400
commitbb3caf7f438a67452f5cf4773ca1bf82260bbbad (patch)
tree01bcea151929eea5e58bb1591de80eac9be5d617 /drivers/usb/input/hid-ff.c
parent1f734cb461e1f029d751deb15c8d9f8137fb2ca7 (diff)
downloadlinux-bb3caf7f438a67452f5cf4773ca1bf82260bbbad.tar.xz
Input: add force feedback driver for PSX-style Zeroplus devices
Signed-off-by: Anssi Hannula <anssi.hannula@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/usb/input/hid-ff.c')
-rw-r--r--drivers/usb/input/hid-ff.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/input/hid-ff.c b/drivers/usb/input/hid-ff.c
index 1b4882202144..a8fc46c721c5 100644
--- a/drivers/usb/input/hid-ff.c
+++ b/drivers/usb/input/hid-ff.c
@@ -60,6 +60,10 @@ static struct hid_ff_initializer inits[] = {
#ifdef CONFIG_THRUSTMASTER_FF
{ 0x44f, 0xb304, hid_tmff_init },
#endif
+#ifdef CONFIG_ZEROPLUS_FF
+ { 0xc12, 0x0005, hid_zpff_init },
+ { 0xc12, 0x0030, hid_zpff_init },
+#endif
{ 0, 0, hid_pidff_init} /* Matches anything */
};