logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_IsTablet - Query if the current device is a tablet.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                                    SDL_IsTablet(3)

Description

       If SDL can't determine this, it will return false.

Header File

       Defined in SDL3/SDL_system.h

Name

       SDL_IsTablet - Query if the current device is a tablet.

Return Value

       Returns true if the device is a tablet, false otherwise.

Synopsis

#include"SDL3/SDL.h"boolSDL_IsTablet(void);

See Also