(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_IsChromebook

Query if the application is running on a Chromebook.

Header File

Defined in SDL_system.h

Syntax

SDL_bool SDL_IsChromebook(void);

Return Value

Returns SDL_TRUE if this is a Chromebook, SDL_FALSE otherwise.

Version

This function is available since SDL 2.0.9.


CategoryAPI, CategoryAPIFunction, CategorySystem