linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] HID: add support for force feedback in 'Thrustmaster F430 Force Feedback' steering wheel
@ 2010-11-17  8:41 Antonio Orefice
  2010-11-17  8:56 ` Antonio Ospite
  0 siblings, 1 reply; 3+ messages in thread
From: Antonio Orefice @ 2010-11-17  8:41 UTC (permalink / raw)
  To: linux-input

This patch add supports for force feedback Thrustmaster "F430 Force
Feedback" steering wheel.
I just added the right usb device id to the existing hid-tmff driver
by Zinx Verituse and to the exceptions list in hid-core.c
After the patches, the device correctly supports constant forces.
For example, the wheel will move correctly accordingly to the mouse
position when using ffmvforce from ffutils; ffset is able to set
autocenter strenght and ff gain.

I tested the patches over a 2.6.35 kernel, but the changes are so
minimal that they should work flawlessy on newer ones.

--- hid-tmff.c-2.6.35	2010-11-16 13:54:29.563224822 +0100
+++ hid-tmff.c	2010-11-16 13:46:42.549871515 +0100
@@ -251,8 +252,12 @@
 		.driver_data = (unsigned long)ff_rumble },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb651),	/* FGT Rumble
Force Wheel */
 		.driver_data = (unsigned long)ff_rumble },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb654),	/* FGT Force
Feedback Wheel */
 		.driver_data = (unsigned long)ff_joystick },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb65a),	/* F430 Force
Feedback */
+		.driver_data = (unsigned long)ff_joystick },
 	{ }
 };
 MODULE_DEVICE_TABLE(hid, tm_devices);

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-18 21:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-17  8:41 [PATCH 1/2] HID: add support for force feedback in 'Thrustmaster F430 Force Feedback' steering wheel Antonio Orefice
2010-11-17  8:56 ` Antonio Ospite
2010-11-18 15:53   ` simon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).