sendTouchEvent()
The function sends a touch event to a target.
Synopsis
int sendTouchEvent(string|shape target, mapping| dyn_mapping
touchPoints);
Parameters
Parameter | Description |
---|---|
target |
|
touchPoints |
The mapping argument defines which touchPoints shall be given. A dyn_mapping is used for more than 1 point. The following keys can be used in the mapping:
|
Return value
Returns -1 if an error occurs and 0 if the function was executed successfully.
Errors
The specified module does not exist.
Description
The function sends a touch event to a target. It specifies the position the touch will be done at and its nature.
Assignment
Miscellaneous Functions
Availability
UI