Status of the Touchscreen
TOUCH!()
TOUCH()
TOUCH!(x1%,y1%,x2%,y2%)
TOUCH(x1%,y1%,x2%,y2%)
The boolean function returns TRUE, if the touchscreen is touched, otherwise FALSE.
The integer function (use no more recommended) returns a value larger than zero, if the touchscreen is touched, otherwise zero.
In case of a touch, the integer variables TCHY and TCHX contain the coordinates of the contact.
If x1, y1, x2 and y2 are given, TOUCH() also checks whether the contact was inside this coordinate box.
|