Each key on the keyboard has a unique code.
You can read the status of the keys with keyIsDown(keyCode)