Constant SDL_HINT_TOUCH_MOUSE_EVENTS

pub const SDL_HINT_TOUCH_MOUSE_EVENTS: *const i8 = _; // {alloc39947<imm>: *const i8}
Available on crate feature dep_sdl3 only.
Expand description

A variable controlling whether touch events should generate synthetic mouse events.

The variable can be set to the following values:

  • “0”: Touch events will not generate mouse events.
  • “1”: Touch events will generate mouse events. (default)

This hint can be set anytime.

§Availability

This hint is available since SDL 3.2.0.