public final class Keyboard extends Object
|Modifier and Type||Class and Description|
Enumeration of supported keys.
|Modifier and Type||Method and Description|
Checks if a certain key is currently pressed on the keyboard.
public static boolean isKeyPressed(Keyboard.Key key)
key- the key in question.
trueif the key is currently being pressed,