isDown

fnbool isDown(char key) @safe nothrow @nogc

Returns true if the specified character is currently pressed.

fnbool isDown(IStr keys) @safe nothrow @nogc

Returns true if one of the specified characters is currently pressed.

fnbool isDown(const(Keyboard) key1, const(Keyboard)[] keys...) @safe nothrow @nogc

Returns true if one of the specified keyboard keys is currently pressed.

fnbool isDown(Mouse key) @safe nothrow @nogc

Returns true if the specified mouse button is currently pressed.

fnbool isDown(Gamepad key, int id = 0) @safe nothrow @nogc

Returns true if the specified gamepad button is currently pressed.

fnbool isDown(InputBinding binding) @safe nothrow @nogc

Returns true if any of the keyboard keys or the gamepad button in the specified binding is currently pressed.