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

SDL_HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT

A variable controlling whether the RAWINPUT driver should pull correlated data from XInput.

Header File

Defined in SDL_hints.h

Syntax

#define SDL_HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT   "SDL_JOYSTICK_RAWINPUT_CORRELATE_XINPUT"

Remarks

This variable can be set to the following values:

The default is "1". This hint applies to any joysticks opened after setting the hint.


CategoryAPI, CategoryAPIMacro, CategoryHints