Skip to content

GamePadAction ​

cpp
enum GamePadAction

Defined in Peripherals/Joystick/JoystickTypes.h:25

Gamepad / Joystick event.

ValueDescription
PULL_UPPull the joystick up.
PULL_DOWNPull the joystick down.
PULL_LEFTPull the joystick left.
PULL_RIGHTPull the joystick right.
PRESS_FIREPress the joystick button.
PRESS_LEFTPress the left mouse button.
PRESS_RIGHTPress the right mouse button.
RELEASE_XMove back to neutral horizontally.
RELEASE_YMove back to neutral vertically.
RELEASE_XYMove back to neutral.
RELEASE_FIRERelease the joystick button.
RELEASE_LEFTRelease the left mouse button.
RELEASE_RIGHTRelease the right mouse button.