/ src / Ryujinx.Input / GamepadButtonInputId.cs
GamepadButtonInputId.cs
 1  namespace Ryujinx.Input
 2  {
 3      /// <summary>
 4      /// Represent a button from a gamepad.
 5      /// </summary>
 6      public enum GamepadButtonInputId : byte
 7      {
 8          Unbound,
 9          A,
10          B,
11          X,
12          Y,
13          LeftStick,
14          RightStick,
15          LeftShoulder,
16          RightShoulder,
17  
18          // Likely axis
19          LeftTrigger,
20          // Likely axis
21          RightTrigger,
22  
23          DpadUp,
24          DpadDown,
25          DpadLeft,
26          DpadRight,
27  
28          // Special buttons
29  
30          Minus,
31          Plus,
32  
33          Back = Minus,
34          Start = Plus,
35  
36          Guide,
37          Misc1,
38  
39          // Xbox Elite paddle
40          Paddle1,
41          Paddle2,
42          Paddle3,
43          Paddle4,
44  
45          // PS5 touchpad button
46          Touchpad,
47  
48          // Virtual buttons for single joycon
49          SingleLeftTrigger0,
50          SingleRightTrigger0,
51  
52          SingleLeftTrigger1,
53          SingleRightTrigger1,
54  
55          Count,
56      }
57  }