OSDN Git Service

Input: goodix - fix touch coordinates on WinBook TW100 and TW700
authorBastien Nocera <hadess@hadess.net>
Fri, 24 Jul 2015 16:08:53 +0000 (09:08 -0700)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 5 Feb 2016 10:49:52 +0000 (18:49 +0800)
commit873f9dac107344b9797ef9840202d40d746b3946
tree31691cc5a1ebdddd84b8422575a0f10d23e18314
parent5cebc90aa765b82d4fee553042ff1a6e1fd1a188
Input: goodix - fix touch coordinates on WinBook TW100 and TW700

The touchscreen on the WinBook TW100 and TW700 don't match the default
display, with 0,0 touches being reported when touching at the bottom
right of the screen.

  1280,800             0,800
         +-------------+
         |             |
         |             |
         |             |
         +-------------+
    1280,0             0,0

It's unfortunately impossible to detect this problem with data from the
DSDT, or other auxiliary metadata, so fallback to quirking this specific
model of tablet instead.

Signed-off-by: Bastien Nocera <hadess@hadess.net>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/goodix.c