SDL_IsTablet

Query if the current device is a tablet.

Header File

Defined in <SDL3/SDL_system.h>

Syntax

bool SDL_IsTablet(void);

Return Value

(bool) Returns true if the device is a tablet, false otherwise.

Remarks

If SDL can't determine this, it will return false.

Version

This function is available since SDL 3.2.0.


CategoryAPI, CategoryAPIFunction, CategorySystem