GamepadInputId.cs 876 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. namespace Ryujinx.Common.Configuration.Hid.Controller
  2. {
  3. public enum GamepadInputId : byte
  4. {
  5. Unbound,
  6. A,
  7. B,
  8. X,
  9. Y,
  10. LeftStick,
  11. RightStick,
  12. LeftShoulder,
  13. RightShoulder,
  14. // Likely axis
  15. LeftTrigger,
  16. // Likely axis
  17. RightTrigger,
  18. DpadUp,
  19. DpadDown,
  20. DpadLeft,
  21. DpadRight,
  22. // Special buttons
  23. Minus,
  24. Plus,
  25. Back = Minus,
  26. Start = Plus,
  27. Guide,
  28. Misc1,
  29. // Xbox Elite paddle
  30. Paddle1,
  31. Paddle2,
  32. Paddle3,
  33. Paddle4,
  34. // PS5 touchpad button
  35. Touchpad,
  36. // Virtual buttons for single joycon
  37. SingleLeftTrigger0,
  38. SingleRightTrigger0,
  39. SingleLeftTrigger1,
  40. SingleRightTrigger1,
  41. Count
  42. }
  43. }