goodix / gt9xx_driver_android

Android driver source code for gt9xx series TPIC.
40 stars 29 forks source link

GT928 Touch Inverted #5

Open GokulTechno opened 6 years ago

GokulTechno commented 6 years ago

Hi, image1 image2 image3

I'm using gtxx android driver for my gt928 touch panel. Everything works fine. But, getting inverted touch events in android(Touch goes opposite direction in x and y axis). I can see the option in device tree to swap x and y make it landscape. Attached image for your reference. But, How to invert x & y axis in device tree or driver to make my CTP work correctly? May I know the use case of "goodix-cfg-data" parameters in the device tree ?

ghost commented 5 years ago

goodix,swap-x2y maybe that.