isPressed
fn
bool isPressed(char key) @safe @trusted nothrow @nogcReturns true if the specified character was pressed this frame.
Returns true if one of the specified characters was pressed this frame.
Returns true if one of the specified keyboard keys was pressed this frame.
Returns true if the specified mouse button was pressed this frame.
Returns true if the specified gamepad button was pressed this frame.
Returns true if any of the keyboard keys or the gamepad button in the specified binding was pressed this frame.