Constant MOUSE_RELATIVE_WARP_MOTION
pub const MOUSE_RELATIVE_WARP_MOTION: &'static str;
Available on crate feature
dep_sdl3
only.Expand description
A variable controlling whether a motion event should be generated for mouse warping in relative mode.
The variable can be set to the following values:
- “0”: Warping the mouse will not generate a motion event in relative mode
- “1”: Warping the mouse will generate a motion event in relative mode
By default warping the mouse will not generate motion events in relative mode. This avoids the application having to filter out large relative motion due to warping.
This hint can be set anytime.
§Availability
This hint is available since SDL 3.2.0.