Constant JOYSTICK_GAMEINPUT

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

A variable controlling whether GameInput should be used for controller handling on Windows.

The variable can be set to the following values:

  • “0”: GameInput is not used.
  • “1”: GameInput is used.

The default is “1” on GDK platforms, and “0” otherwise.

This hint should be set before SDL is initialized.

§Availability

This hint is available since SDL 3.2.0.