keyPressed
keyboard.keyPressed()
Returns true
only on the frame when the key was pressed.
keyboard.keyPressed(key)
key
String (key)
Key name based on the user's current keyboard layout.
keyboard.keyPressed()
Returns true
only on the frame when the key was pressed.
keyboard.keyPressed(key)
key
String (key)
Key name based on the user's current keyboard layout.