The ft6x36_read function call has three CONFIG_ checks to perform INVERT_X, INVERT_Y and SWAPXY.
It appears because the swap happens after the inversions it can result in negative numbers. To get it working for myself I just changed the order, but I suspect this might vary from one setup to another.
The
ft6x36_read
function call has threeCONFIG_
checks to performINVERT_X
,INVERT_Y
andSWAPXY
. It appears because the swap happens after the inversions it can result in negative numbers. To get it working for myself I just changed the order, but I suspect this might vary from one setup to another.