aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorBenjamin Tissoires <[email protected]>2014-08-25 17:07:10 +0000
committerJiri Kosina <[email protected]>2014-08-26 07:24:45 +0000
commit79346d620e9de87912de73337f6df8b7f9a46888 (patch)
tree36d2e3bb4e9f70485a778b3234e324d08ad13bab /lib/dynamic_debug.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik... (diff)
downloadkernel-79346d620e9de87912de73337f6df8b7f9a46888.tar.gz
kernel-79346d620e9de87912de73337f6df8b7f9a46888.zip
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 <[email protected]> Signed-off-by: Benjamin Tissoires <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions