![]() |
Lysa
0.0
Lysa 3D Engine
|
Gamepad button identifier constants (cross-platform aliases provided).
Lua full name: lysa.GamepadButton
Constants | |
| integer | A |
| Xbox A button. | |
| integer | CROSS |
| PlayStation Cross button (alias for A). | |
| integer | B |
| Xbox B button. | |
| integer | CIRCLE |
| PlayStation Circle button (alias for B). | |
| integer | X |
| Xbox X button. | |
| integer | SQUARE |
| PlayStation Square button (alias for X). | |
| integer | Y |
| Xbox Y button. | |
| integer | TRIANGLE |
| PlayStation Triangle button (alias for Y). | |
| integer | LB |
| Xbox Left Bumper. | |
| integer | L1 |
| PlayStation L1 button (alias for LB). | |
| integer | RB |
| Xbox Right Bumper. | |
| integer | R1 |
| PlayStation R1 button (alias for RB). | |
| integer | BACK |
| Xbox Back / Select button. | |
| integer | SHARE |
| PlayStation Share button (alias for BACK). | |
| integer | START |
| Xbox Start / Menu button. | |
| integer | MENU |
| Generic Menu button (alias for START). | |
| integer | RT |
| Xbox Right Trigger as a digital button. | |
| integer | R2 |
| PlayStation R2 as a digital button (alias for RT). | |
| integer | DPAD_UP |
| D-pad up direction. | |
| integer | DPAD_RIGHT |
| D-pad right direction. | |
| integer | DPAD_DOWN |
| D-pad down direction. | |
| integer | DPAD_LEFT |
| D-pad left direction. | |
| integer A |
Xbox A button.
| integer CROSS |
PlayStation Cross button (alias for A).
| integer B |
Xbox B button.
| integer CIRCLE |
PlayStation Circle button (alias for B).
| integer X |
Xbox X button.
| integer SQUARE |
PlayStation Square button (alias for X).
| integer Y |
Xbox Y button.
| integer TRIANGLE |
PlayStation Triangle button (alias for Y).
| integer LB |
Xbox Left Bumper.
| integer L1 |
PlayStation L1 button (alias for LB).
| integer RB |
Xbox Right Bumper.
| integer R1 |
PlayStation R1 button (alias for RB).
| integer BACK |
Xbox Back / Select button.
| integer SHARE |
PlayStation Share button (alias for BACK).
| integer START |
Xbox Start / Menu button.
| integer MENU |
Generic Menu button (alias for START).
| integer RT |
Xbox Right Trigger as a digital button.
| integer R2 |
PlayStation R2 as a digital button (alias for RT).
| integer DPAD_UP |
D-pad up direction.
| integer DPAD_RIGHT |
D-pad right direction.
| integer DPAD_DOWN |
D-pad down direction.
| integer DPAD_LEFT |
D-pad left direction.