SDL_IsTablet - Man Page

Query if the current device is a tablet.

Synopsis

#include <SDL3/SDL_system.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.

Info

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS