Function getKeyboardState

Wraps SDL_GetKeyboardState which gets the current key states of the keyboard

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

Returns

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