isKeyDown

v0.0.2
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 events.h