dect
/
linux-2.6
Archived
13
0
Fork 0

HID: autocentering support for Logitech Force 3D Pro

This patch adds autocentering support for Logitech Force 3D Pro.

Signed-off-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
Sergey Belyashov 2009-05-15 16:05:57 +02:00 committed by Jiri Kosina
parent 0f6f4319a7
commit f0bca45982
1 changed files with 7 additions and 1 deletions

View File

@ -50,6 +50,12 @@ static const signed short ff_joystick[] = {
-1
};
static const signed short ff_joystick_ac[] = {
FF_CONSTANT,
FF_AUTOCENTER,
-1
};
static const signed short ff_wheel[] = {
FF_CONSTANT,
FF_AUTOCENTER,
@ -60,7 +66,7 @@ static const struct dev_type devices[] = {
{ 0x046d, 0xc211, ff_rumble },
{ 0x046d, 0xc219, ff_rumble },
{ 0x046d, 0xc283, ff_joystick },
{ 0x046d, 0xc286, ff_joystick },
{ 0x046d, 0xc286, ff_joystick_ac },
{ 0x046d, 0xc294, ff_wheel },
{ 0x046d, 0xc295, ff_joystick },
{ 0x046d, 0xca03, ff_wheel },