- touchhandle.click = function(touchhandle, x, y)
- touchhandle.release = function(touchhandle, x, y)
SYNOPSIS
DESCRIPTION
The click() callback is run whenever a location on the screen is clicked. The passed coordinates x and y are already processed and indicate the pixel coordinate of the event on the screen.
In turn, the release() callback runs when the click is released. The passed coordinates x and y indicate the position where the release has happened.
NOTES
Callbacks are called from within event:poll().