]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
HID: Invert HWHEEL mappings for some Logitech mice
authorDan Nicholson <dbn.lists@gmail.com>
Sat, 14 Jun 2008 17:26:24 +0000 (10:26 -0700)
committerJiri Kosina <jkosina@suse.cz>
Wed, 23 Jul 2008 13:25:21 +0000 (15:25 +0200)
commit740f370dc61dc478d891d7d47660bb3ae39ddb4f
tree460c820c0530401ed50d909adf282390d8928725
parenta44ebccea873cf7d58b63605f1cdd6da9dfec70f
HID: Invert HWHEEL mappings for some Logitech mice

Some Logitech mice have a tilt wheel which register as HWHEEL buttons.
The events are positive for a click to the right and negative for a
click to the left. Applications expect the opposite, though.

I suspect this affects a lot more Logitech mice, but these are the only
two I have. I tested this using evtest and a GTK application. A similar
Microsoft Intellimouse I have works correctly.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hid-quirks.c