Function sdl2_sys::SDL_GetTouchDevice
source ยท pub unsafe extern "C" fn SDL_GetTouchDevice(
index: c_int,
) -> SDL_TouchID
Expand description
Get the touch ID with the given index.
\param index the touch device index \returns the touch ID with the given index on success or 0 if the index is invalid; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
\sa SDL_GetNumTouchDevices