This is the prototype for the touch callback function.
The callback function will be triggered each time a touch event occurs. The callback function must be registered using gcInitTouch().
|event ||Touch event that triggered the callback function |
|x ||X (pixel) coordinate of the current touch event |
|y ||Y (pixel) coordinate of the current touch event |
- The callback function is executed in the context of a seperate task. You should not draw within the callback function without taking precautions, because the drawing functions are not reentrant.
- See also: