Player APIs (BrightScript & Ja...
...
Object Reference
Presentation and Widget Object...

roTouchEvent, roTouchCalibrationEvent

6min
the rotouchevent object is generated by the rotouchscreen object whenever a touch or mouse event is detected within a defined region the javascript equivalent is touchevent() ifint getint() as integer retrieves the region id of the event setint(a as integer) sets the region id of the event ifpoint the ifpoint interface is not available on the rotouchcalibrationevent object getx() as integer retrieves the x coordinate of the mouse/touch event gety() as integer retrieves the y coordinate of the mouse/touch event setx(a as integer) sets the x coordinate of the event sety(a as integer) sets the y coordinate of the event ifevent the ifevent interface is not available on the rotouchcalibrationevent object getevent() as integer setevent(a as integer)