SDL2Keyboard.isPressed

class SDL2Keyboard
bool
isPressed
(
SDL_Keycode key
)

Return Value

Type: bool

true if a key is pressed.

Meta