Scripting API
Scripting API
GamepadButton
Enum in Abyss.Core, from Abyss.Core.
A gamepad's button, by where it is on the pad rather than what it is labeled.
public enum GamepadButton : uintRemarks
GamepadButton.South is A on one maker's pad and Cross on another's: where a button sits is what is the same on every pad. These numbers are the ABI, matched by the engine's.
Values
| Name | Value | Description |
|---|---|---|
South | 0 | |
East | 1 | |
West | 2 | |
North | 3 | |
LeftShoulder | 4 | |
RightShoulder | 5 | |
LeftTrigger | 6 | |
RightTrigger | 7 | |
Select | 8 | |
Start | 9 | |
LeftStickPress | 10 | |
RightStickPress | 11 | |
DPadUp | 12 | |
DPadDown | 13 | |
DPadLeft | 14 | |
DPadRight | 15 |
