isDown
fn
bool isDown(char key) @safe nothrow @nogcReturns true if the specified character is currently pressed.
Returns true if one of the specified characters is currently pressed.
Returns true if one of the specified keyboard keys is currently pressed.
Returns true if the specified mouse button is currently pressed.
Returns true if the specified gamepad button is currently pressed.
Returns true if any of the keyboard keys or the gamepad button in the specified binding is currently pressed.