From: Benjamin Tissoires Date: Mon, 25 Aug 2014 17:07:10 +0000 (-0400) Subject: HID: input: force generic axis to be mapped to their user space axis X-Git-Tag: fixes-for-v3.18-merge-window~27^2^8~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79346d620e9de87912de73337f6df8b7f9a46888;p=pandora-kernel.git HID: input: force generic axis to be mapped to their user space axis Atmel 840B digitizer presents a stylus interface which reports twice the X coordinate and then twice the Y coordinate. In its current implementation, hid-input assign the first X to X, then the second to Y, then the first Y to Z, then the second one to RX. This is wrong, and X should always be mapped to X, no matter what. A solution consists in forcing X, Y, Z, RX, RY, RZ to be mapped to their correct user space counter part. Reported-by: Éric Brunet Signed-off-by: Benjamin Tissoires Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed