Function sdl2_sys::SDL_GetNumTouchFingers
source ยท pub unsafe extern "C" fn SDL_GetNumTouchFingers(
touchID: SDL_TouchID,
) -> c_int
Expand description
Get the number of active fingers for a given touch device.
\param touchID the ID of a touch device \returns the number of active fingers for a given touch device on success or 0 on failure; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
\sa SDL_GetTouchFinger