Returns if the given Keyboard.ScanCode is pressed.
if (Keyboard.isPressed(Keyboard.ScanCode.Escape)) writeln("escape is pressed.");
See Implementation
Returns if the given Keyboard.ScanCode is pressed.