]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Mar 2011 19:50:25 +0000 (12:50 -0700)
commit5f9e5a4224a4977b17caaf7bb94a76bb9ff8ed8f
treeff5fef3ce01249decd02e257c833eb569745d420
parent0dfb740ef2e6bda849828e3bb010551dde2a56d6
HID: hid-magicmouse: Correct touch orientation direction

commit 2d9ca4e9f393d81d8f37ed37505aecbf3a5e1bd6 upstream.

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: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hid/hid-magicmouse.c