Scroll to navigation

SDL_GetDeviceFormFactorName(3) SDL3 FUNCTIONS SDL_GetDeviceFormFactorName(3)

NAME

SDL_GetDeviceFormFactorName - Get a short name for the current device.

SYNOPSIS

#include <SDL3/SDL_system.h>
const char* SDL_GetDeviceFormFactorName(SDL_FormFactor form_factor);

DESCRIPTION

The name will be in English.

FUNCTION PARAMETERS

the form factor to query.

RETURN VALUE

Returns a human-readable name for the given form factor, or "SDL_FORMFACTOR_UNKNOWN" if the form factor isn't recognized.

AVAILABILITY

This function is available since SDL 3.6.0.

SEE ALSO

SDL_FormFactor(3type), SDL_GetDeviceFormFactor(3)

SDL 3.5.0 Simple Directmedia Layer