This function is used to tell if the button was pressed since the last call to ButtonHit.
Syntax
- bool ButtonHit(const int controllerIndex, unsigned int button)
Parameters
- controllerIndex: the controller to check. Currently controllers range from 0 to 7.
- button: the button to check. Currently buttons range from 0 to 20.