Constant fermium::hints::SDL_HINT_JOYSTICK_HIDAPI_CORRELATE_XINPUT[][src]

pub const SDL_HINT_JOYSTICK_HIDAPI_CORRELATE_XINPUT: &[u8];
Expand description

A variable controlling whether the HIDAPI driver for XBox controllers on Windows should pull correlated data from XInput.

This variable can be set to the following values:

  • “0”: HIDAPI Xbox driver will only use HIDAPI data
  • “1”: HIDAPI Xbox driver will also pull data from XInput, providing better trigger axes, guide button presses, and rumble support

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