pub const SDL_HINT_GRAB_KEYBOARD: &[u8];
Expand description

A variable controlling whether grabbing input grabs the keyboard

This variable can be set to the following values:

  • “0”: Grab will affect only the mouse
  • “1”: Grab will affect mouse and keyboard

By default SDL will not grab the keyboard so system shortcuts still work.