SDL_IsTablet - Man Page

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.

Info

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS