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


If set, game controller face buttons report their values according to their labels instead of their positional layout.

Header File

Defined in SDL_hints.h




For example, on Nintendo Switch controllers, normally you'd get:

 (X)     (B)

but if this hint is set, you'll get:

 (Y)     (A)

The variable can be set to the following values:

The default value is "1". This hint may be set at any time.

CategoryAPI, CategoryAPIMacro, CategoryHints

[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.