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

SDL_HINT_JOYSTICK_HIDAPI_PS3

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

Header File

Defined in SDL_hints.h

Syntax

#define SDL_HINT_JOYSTICK_HIDAPI_PS3 "SDL_JOYSTICK_HIDAPI_PS3"

Remarks

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 https://github.com/ViGEm/DsHidMini for an alternative driver on Windows.


CategoryAPI, CategoryAPIMacro, CategoryHints