Function SDL_IsTablet

pub unsafe extern "C" fn SDL_IsTablet() -> SDL_bool
Available on crate feature dep_sdl2 only.
Expand description

Query if the current device is a tablet.

If SDL can’t determine this, it will return SDL_FALSE.

\returns SDL_TRUE if the device is a tablet, SDL_FALSE otherwise.

\since This function is available since SDL 2.0.9.