From 79346d620e9de87912de73337f6df8b7f9a46888 Mon Sep 17 00:00:00 2001 From: Benjamin Tissoires Date: Mon, 25 Aug 2014 13:07:10 -0400 Subject: [PATCH] HID: input: force generic axis to be mapped to their user space axis MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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-format-patch failed