DOKK / manpages / debian 13 / libsdl3-doc / SDL_IsTV.3.en
SDL_IsTV(3) SDL3 FUNCTIONS SDL_IsTV(3)

SDL_IsTV - Query if the current device is a TV.

Defined in SDL3/SDL_system.h

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

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

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

This function is available since SDL 3.2.0.

SDL 3.2.10 Simple Directmedia Layer