SDL_IsTablet(3)

SDL_IsTablet3

Query if the current device is a tablet.

Usage

#include "SDL3/SDL.h"

bool SDL_IsTablet(void);

Header file

Defined in SDL3/SDL_system.h

Overview

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.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.