HID:hid-lg4ff: Scale autocentering force properly on Logitech wheel
authorSimon Wood <simon@mungewell.org>
Wed, 6 Nov 2013 19:30:40 +0000 (12:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2013 18:57:20 +0000 (10:57 -0800)
commit236b365b1a65da3f18d1eda848418421c1601396
tree6685f1bd1b33e2a19a6575c431f3c2dee6b16a0c
parent7d366a5ec599406ca43fd4b967d0a81307c3bce4
HID:hid-lg4ff: Scale autocentering force properly on Logitech wheel

commit f8c231569a7a455dfa1907294a46ba52b3aa8859 upstream.

Adjust the scaling and lineartity to match that of the Windows
driver (from MOMO testing).

Reported-by: Elias Vanderstuyft <elias.vds@gmail.com>
Signed-off-by: Simon Wood <simon@mungewell.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/hid-lg4ff.c