Skip to content

Instantly share code, notes, and snippets.

@MartinZikmund
Created June 9, 2022 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MartinZikmund/537456caca595e1d23b808639794d825 to your computer and use it in GitHub Desktop.
Save MartinZikmund/537456caca595e1d23b808639794d825 to your computer and use it in GitHub Desktop.
if (gamepad.Buttons.HasFlag(GamepadButtons.A))
{
// The A button on the Gamepad is pressed.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment