InputAPI reference
Enum PadButton
Namespace: MicroEngine.Input
Assembly: MicroEngine.Input.dll
Guide: Input
Gamepad buttons by position, using Xbox names (A is the bottom face button on every pad); backends map their own codes. GamepadStyle says what the pad prints there.
public enum PadButtonFields
A = 1
B = 2
Back = 6
DPadDown = 10
DPadLeft = 11
DPadRight = 12
DPadUp = 9
Guide = 15
The system button in the middle (Xbox, PS, Home).
LeftPaddle1 = 18
The upper back paddle on the left (Xbox Elite P3).
LeftPaddle2 = 20
The lower back paddle on the left (Xbox Elite P4).
LeftShoulder = 7
LeftStick = 13
Misc1 = 16
An extra button some pads have (Xbox Series share, Switch Pro capture, PS5 microphone).
None = 0
RightPaddle1 = 17
The upper back paddle on the right (Xbox Elite P1).
RightPaddle2 = 19
The lower back paddle on the right (Xbox Elite P2).
RightShoulder = 8
RightStick = 14
Start = 5
Touchpad = 21
A click of the touchpad (PlayStation pads).
X = 3
Y = 4