logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT - A variable controlling whether the RAWINPUT driver should

Availability

       This hint is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20     SDL_HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT(3)

Description

       The variable can be set to the following values:

       • "0": RAWINPUT driver will only use data from raw input APIs.

       • "1": RAWINPUT driver will also pull data from XInput and Windows.Gaming.Input, providing better trigger
       axes, guide button presses, and rumble support for Xbox controllers. (default)

       This hint should be set before a gamepad is opened.

Name

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

Synopsis

#include<SDL3/SDL_hints.h>#defineSDL_HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT"SDL_JOYSTICK_RAWINPUT_CORRELATE_XINPUT"

See Also