I have scanned the entire network and need some help. Is there a link somewhere, for example, the code of all the buttons for the Xbox 360 controller. For example:
if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed)
this.Exit();
I know this will exit the game if you click on the controller.
I just need state examples for the joystick, d-pad and all buttons.
source
share