gfm



class  SDL2Keyboard;

Holds SDL keyboard state.

Known Bugs
This class should disappear.

bool  isPressed(SDL_Keycode key);

Returns
true if a key is pressed.

bool  testAndRelease(SDL_Keycode key);

Mark a key as unpressed.

Returns
true if a key was pressed.