Constant WINDOWS_RAW_KEYBOARD

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

A variable controlling whether raw keyboard events are used on Windows.

The variable can be set to the following values:

  • “0”: The Windows message loop is used for keyboard events. (default)
  • “1”: Low latency raw keyboard events are used.

This hint can be set anytime.

§Availability

This hint is available since SDL 3.2.0.