Skip to content

Commit

Permalink
HID: autocentering support for Logitech Force 3D Pro
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sergey Belyashov authored and Jiri Kosina committed May 15, 2009
1 parent 0f6f431 commit f0bca45
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion drivers/hid/hid-lgff.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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 },
Expand Down

0 comments on commit f0bca45

Please sign in to comment.