After trying to figure this library out, I am stuck when just trying to read a single touch point coordinates.
Experimenting with the available functions I am able to return the tpDev via ui.tpDev.x[0] to ui.tpDev.x[4] but they are all just 0 no matter where on the screen I am clicking.
By forcing a double click or other gesture I am able to force an update of the registers apparently but the coordinates seem off for a single click afterwards.
How can this library be used to simply return the touch point of a simple click on the screen?
After trying to figure this library out, I am stuck when just trying to read a single touch point coordinates. Experimenting with the available functions I am able to return the tpDev via ui.tpDev.x[0] to ui.tpDev.x[4] but they are all just 0 no matter where on the screen I am clicking. By forcing a double click or other gesture I am able to force an update of the registers apparently but the coordinates seem off for a single click afterwards. How can this library be used to simply return the touch point of a simple click on the screen?