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 19:06:22 +0000 (11:06 -0800)
commit2d7eff05cb9efcf54cb6b2edd057ca6cd2e87796
treeb630211785080dc7de6de10c149a1d1596b348b6
parent863aae543192a6888011be20ba95fc49b95bb06d
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