InputGamepadButton
Declaration
enum class InputGamepadButton {
Any, // Any gamepad button
Face1, // First face button
Face2, // Second face button
Face3, // Third face button
Face4, // Fourth face button
Start, // Start face button
Select, // Select face button
Guide, // Guide face button
LeftStick, // Left stick button
RightStick, // Right stick button
LeftBumper, // Left shoulder button
RightBumper, // Right shoulder button
DPadLeft, // Directional pad left button
DPadRight, // Directional pad right button
DPadUp, // Directional pad up button
DPadDown // Directional pad down button
};
Notes
The gamepad’s layout depends on the type of gamepad used.
Generally, Face1
is the button to confirm, while Face2
is the button to cancel.

Number |
Value |
Description |
---|---|---|
1 |
Face1 |
The “confirm” face button. |
2 |
Face2 |
The “cancel” face button. |
3 |
Face3 |
The face button next to |
4 |
Face4 |
The face button next to |
5 |
Start |
The “pause” button. |
6 |
Select |
The button next to, or opposed to, |
7 |
Guide |
The button used to open a platform-specific menu. |
8 |
LeftStick |
The button on the left stick. |
9 |
RightStick |
The button on the right stick. |
10 |
LeftBumper |
The left shoulder button. |
11 |
RightBumper |
The right shoulder button. |
12 |
DPadLeft |
The directional-pad left button. |
13 |
DPadRight |
The directional-pad right button. |
14 |
DPadUp |
The directional-pad up button. |
15 |
DPadDown |
The directional-pad down button. |
The left and right triggers are not available here as they are analogic buttons.