]> git.karo-electronics.de Git - linux-beck.git/commit
HID: hid-magicmouse: Correct touch orientation direction
authorHenrik Rydberg <rydberg@euromail.se>
Wed, 9 Mar 2011 17:38:57 +0000 (18:38 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 9 Mar 2011 23:05:59 +0000 (00:05 +0100)
commit2d9ca4e9f393d81d8f37ed37505aecbf3a5e1bd6
treed0846e0763df2d519f8ea9bc79588c9410972415
parentd9236303d0b7ba8bbaeb6adbbf088c3fe2a9ab9e
HID: hid-magicmouse: Correct touch orientation direction

The magic trackpad and mouse both report touch orientation in opposite
direction to the bcm5974 driver and what is written in
Documents/input/multi-touch-protocol.txt. This patch reverts the
direction, so that all in-kernel devices with this feature behave the
same way.

Since no known application has been utilizing this information yet, it
seems appropriate also for stable.

Cc: stable@kernel.org
Cc: Michael Poole <mdpoole@troilus.org>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Acked-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-magicmouse.c