Constant JOYSTICK_DIRECTINPUT

pub const JOYSTICK_DIRECTINPUT: &'static str;
Available on crate feature dep_sdl3 only.
Expand description

A variable controlling whether DirectInput should be used for controllers.

The variable can be set to the following values:

  • “0”: Disable DirectInput detection.
  • “1”: Enable DirectInput detection. (default)

This hint should be set before SDL is initialized.

§Availability

This hint is available since SDL 3.2.0.