isDown

fnbool isDown(char key)

Returns true if the specified character is currently pressed.

fnbool isDown(Keyboard key)

Returns true if the specified keyboard key is currently pressed.

fnbool isDown(Mouse key)

Returns true if the specified mouse button is currently pressed.

fnbool isDown(Gamepad key, int id = 0)

Returns true if the specified gamepad button is currently pressed.