Checks if a key matching the given integer key code is currently pressed.
For a description of key codes, please see waitKey.
if keyPressed(36) then ...