Sjekker om tasten som trykkes er det samme som en gitt Key code.
For en beskrivelse av key codes, se waitKey.
if keyPressed(36) then ...