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)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 24 Jul 2015 16:11:02 +0000 (09:11 -0700)
commit8b5a359c5b3e631f17eeb1dcb930474000d33d49
tree320b4f6386f987a20471fad1b4980f4f490098e0
parentb38ebd1d4b6656582b8c16358bb88d059d28b794
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