2
0

GamePadButtons.cs 823 B

1234567891011121314151617181920212223242526272829303132333435
  1. //-----------------------------------------------------------------------------
  2. // GamePadButtons.cs
  3. //
  4. // Microsoft XNA Community Game Platform
  5. // Copyright (C) Microsoft Corporation. All rights reserved.
  6. //-----------------------------------------------------------------------------
  7. namespace RolePlaying
  8. {
  9. public static partial class InputManager
  10. {
  11. /// <summary>
  12. /// GamePad controls expressed as one type, unified with button semantics.
  13. /// </summary>
  14. public enum GamePadButtons
  15. {
  16. Start,
  17. Back,
  18. A,
  19. B,
  20. X,
  21. Y,
  22. Up,
  23. Down,
  24. Left,
  25. Right,
  26. LeftShoulder,
  27. RightShoulder,
  28. LeftTrigger,
  29. RightTrigger,
  30. }
  31. }
  32. }