Checks Gamepad buttons. Assumes an Xbox-style gamepad with four face buttons, two triggers, two shoulder buttons, and two menu buttons.
Button
The Gamepad button to test.
Is Pressed
Store if the button is pressed.
Is Pressed Event
Event to send if the button is pressed.
Was Pressed This Frame
Event to send if the button was pressed this frame.
Was Released This Frame
Event to send if the button was released this frame.
Update Mode
When to read the Input.