Revert "HID: Invert HWHEEL mappings for some Logitech mice"
authorDan Nicholson <dbn.lists@gmail.com>
Fri, 17 Oct 2008 09:29:46 +0000 (11:29 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 7 Nov 2008 03:05:40 +0000 (19:05 -0800)
commit0c7e4714bce40c3e7f8890eda8fc6f83bff2595c
tree7b8e2e4144d159c0d1f14c4291004b6a90e576c6
parent1d2f30b7474b2607276d10b28af2bde423b6e609
Revert "HID: Invert HWHEEL mappings for some Logitech mice"

commit 022b7024d4bb1f9a2f30021a2672a0f940ebfa7a upstream.

This reverts commit 740f370dc61dc478d891d7d47660bb3ae39ddb4f.

It turned out to be correct in the first place: a positive value should
be sent when the wheel is moved to the right, and a negative value when
moved to the left. This is the behavior expected by the Xorg evdev
driver. I must have had a remapping somewhere else in my system when
originally testing this. Testing on another system shows that the
unpatched kernel is correct.

Here is a bug report from Mandriva that brought the problem to my
attention:

    https://qa.mandriva.com/show_bug.cgi?id=44309#c19

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