Function SDL_GetTouchDevice

pub unsafe extern "C" fn SDL_GetTouchDevice(index: i32) -> i64 
Available on crate feature dep_sdl2 only.
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