Scroll to navigation

SDL_IsTablet(3) SDL3 FUNCTIONS SDL_IsTablet(3)

NAME

SDL_IsTablet - 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.

SDL 3.2.14 Simple Directmedia Layer