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

SDL_HINT_JOYSTICK_DEVICE

A comma separated list of devices to open as joysticks

Header File

Defined in SDL_hints.h

Syntax

#define SDL_HINT_JOYSTICK_DEVICE "SDL_JOYSTICK_DEVICE"

Remarks

This variable is currently only used by the Linux joystick driver.


CategoryAPI, CategoryAPIMacro, CategoryHints