Man page - sdl_istablet(3)
Packages contains this manual
Manual
SDL_IsTablet
NAMEHEADER FILE
SYNOPSIS
DESCRIPTION
RETURN VALUE
AVAILABILITY
NAME
SDL_IsTablet - Query if the current device is a tablet.
HEADER FILE
Defined in SDL3/SDL_system.h
SYNOPSIS
#include "SDL3/SDL.h"
bool SDL_IsTablet(void);
DESCRIPTION
If SDL canβt determine this, it will return false.
RETURN VALUE
Returns true if the device is a tablet, false otherwise.
AVAILABILITY
This function is available since SDL 3.2.0.