keyboard

v0.0.3
isKeyDown(k);

Check if a keyboard key is pressed, returns true if key is down and returns false if it's not

Arguments

kThe keyboard key to check

Returns

booleanWhether or not the key is down

See isKeyDown in keyboard.h
keyPressed(key);Event

Called whenever a key is pressed.

Arguments

keyThe pressed key

See keyPressed in keyboard.h
keyReleased(key);Event

Called whenever a key is released.

Arguments

keyThe released key

See keyReleased in keyboard.h
keyHeld(key);Event

Called whenever a key is held down.

Arguments

keyThe held key

See keyHeld in keyboard.h