Touch and Sensors
- Function TouchPressure()
Returns the touch pressure of a touch event.
- Sub GetTouch(byref status, byref x, byref y, byref dx, byref dy)
Gets the position and distance of motion of a touch event.
- Sub GetMultiTouch(byref status, byref x, byref y, byref fingers, byref dist, byref theta)
Gets the status, position, number of fingers, distance between the fingers and rotation of a multi-finger gesture.
- Sub GetTouchFinger(finger, byref x, byref y, byref pressure)
Gets the position and pressure of a finger on a touch event.
- Function NumFingers()
Returns the number of fingers detected in the current touch event.
- Sub GetAccel(accel_num, ByRef x, ByRef y, ByRef z)
Gets the axis values for an accelerometer.
- Function AccelName$(accel_num)
Returns the name of an accelerometer.
- Function NumAccels()
Returns the number of accelerometer sensors detected.
- Sub GetGyro(gyro_num, ByRef x, ByRef y, ByRef z)
Gets the values of a Gyro sensor.
- Function GyroName$(gyro_num)
Returns the name of the gyroscope.
- Function NumGyros()
Returns the number Gyros detected in the current touch event.
- Function TouchX()
Return the X Position of a touch event.
See also
- Function TouchY()
Return the Y Position of a touch event.
See also