Constant JOYSTICK_THREAD
pub const JOYSTICK_THREAD: &'static str;
Available on crate feature
dep_sdl3
only.Expand description
A variable controlling whether a separate thread should be used for handling joystick detection and raw input messages on Windows.
The variable can be set to the following values:
- “0”: A separate thread is not used.
- “1”: A separate thread is used for handling raw input messages. (default)
This hint should be set before SDL is initialized.
§Availability
This hint is available since SDL 3.2.0.