TOUCH functions
Functions for reading touch screen coordinates on devices with LCD touch panels.
Touch Coordinates
TOUCH(X)
Will return the X coordinate of the location currently touched on an LCD panel.
If the screen is not being touched the function will return -1.
TOUCH(Y)
Will return the Y coordinate of the location currently touched on an LCD panel.
If the screen is not being touched the function will return -1.
Multi-touch Coordinates (FT6336)
TOUCH(X2)
FT6336 only: Will return the X coordinate of the second touch location on an LCD panel.
If no second location is touched, returns -1.
TOUCH(Y2)
FT6336 only: Will return the Y coordinate of the second touch location on an LCD panel.
If no second location is touched, returns -1.