Check if a given key is down.
The code of the key to check.
Whether or not to make sure the key was down last frame.
See Implementation
Check if a given key is down.