getKeyboardState

Wraps SDL_GetKeyboardState which gets the current key states of the keyboard

@safe @trusted
const(bool[])
getKeyboardState
()

Return Value

Type: const(bool[])

bool array of whether the keys are pressed or not as indexed by dsdl2.Scancode

Meta