HID:hid-lg4ff: Correct Auto-center strength for wheels other than MOMO and MOMO2
authorSimon Wood <simon@mungewell.org>
Wed, 6 Nov 2013 19:30:44 +0000 (12:30 -0700)
committerJiri Kosina <jkosina@suse.cz>
Fri, 8 Nov 2013 13:12:08 +0000 (14:12 +0100)
The MOMO and MOMO2 wheels have a slightly different autocenter command,
and accept values in the range 0..F (rather than 0..7 for the other wheels).

This patch uses the product ID to determine how to compute the strength.

Signed-off-by: Simon Wood <simon@mungewell.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lg4ff.c

Simple merge