Package ilcd
Class TouchEvent
int getPointID()
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Returns | Range | Description |
---|---|---|
pointID | 1 ... 5 | value of the current point |
Up to 5 fingers can be distinguished when simultaneously touching the iLCD. A point ID is given to each finger. The value of the point id depends on the order of the touch events (fingers touching the screen). The value 0 will be assigned to the first finger on the touch screen. If the fist finger doesn’t release the touch screen and a second finger will touch the screen the value 1 will be assigned to the second touch event.
Example
public void onTouch(TouchEvent event)
{ ...
if(event.isTouchReleased())
{
Draw.writeText(" getPointID: " + event.getPointID());
...
See also:
Copyright © demmel products gmbh. All rights reserved.