Gets the number of active touch contacts.
Syntax
Declare Function GetTouchCount ( ) As Integer
Usage
count = GetTouchCount( )
Return Value
The number of currently active touch contacts.
Description
GetTouchCount returns the number of active touch contacts reported by the current graphics driver.
On platforms with native touch support, this reports the active contacts known to the backend. On platforms without native touch support, GfxLib exposes a simple compatibility fallback: if the left mouse button is held down over the graphics screen, the mouse position is reported as one touch contact.
The returned coordinates for touch contacts are in the same logical graphics coordinate space used by
GetMouse.
Dialect Differences
- Not available in the -lang qb dialect unless referenced with the alias __GetTouchCount.
Differences from QB
See also