chickadee » sdl2 » mod-state

mod-stateprocedure
mod-state-rawprocedure
(set! (mod-state) state)setter
mod-state-set! statesetter

See SDL_GetModState.

  • mod-state returns a list of zero or more keyboard modifier symbols.
  • mod-state-raw returns an integer representing a bitfield of keyboard modifiers.
  • The setters accept either a list of zero or more symbols, or an integer.