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


A variable controlling whether the HIDAPI driver for PS3 controllers should be used.

Header File

Defined in SDL_hints.h




This variable can be set to the following values:

The default is the value of SDL_HINT_JOYSTICK_HIDAPI on macOS, and "0" on other platforms.

It is not possible to use this driver on Windows, due to limitations in the default drivers installed. See for an alternative driver on Windows.

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.