]> Pileus Git - ~andy/linux/commit
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)
commit1859762ed538477fc80ada926571d12dc4c9c062
tree2aa6f13f66d7c090f430b48cf00b00083d51e035
parent114a55cf9dd1576e7ac56189832cd4d7dc56c218
HID:hid-lg4ff: Correct Auto-center strength for wheels other than MOMO and MOMO2

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