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