sdl2/generated/lib_sdl_touch library

Functions

sdlGetNumTouchDevices() int
Get the number of registered touch devices.
sdlGetNumTouchFingers(int touchId) int
Get the number of active fingers for a given touch device.
sdlGetTouchDevice(int index) int
Get the touch ID with the given index.
sdlGetTouchDeviceType(int touchId) int
Get the type of the given touch device.
sdlGetTouchFinger(int touchId, int index) Pointer<SdlFinger>
Get the finger object for specified touch device ID and finger index.
sdlGetTouchName(int index) String?
Get the touch device name as reported from the driver or NULL if the index is invalid.