Skip to content

GameControlAxis

Constants in the GameControlAxis enum.

All constant groups

At a glance, from the LSL definitions
integer GAME_CONTROL_AXIS_LEFTX = 0;  // Left stick X axisinteger GAME_CONTROL_AXIS_LEFTY = 1;  // Left stick Y axisinteger GAME_CONTROL_AXIS_RIGHTX = 2;  // Right stick X axisinteger GAME_CONTROL_AXIS_RIGHTY = 3;  // Right stick Y axisinteger GAME_CONTROL_AXIS_LEFT_TRIGGER = 4;  // Left triggerinteger GAME_CONTROL_AXIS_RIGHT_TRIGGER = 5;  // Right trigger

Constants

ConstantTypeValueDescription
GAME_CONTROL_AXIS_LEFT_TRIGGERinteger4Left trigger. Canonical axis index 4.
GAME_CONTROL_AXIS_LEFTXinteger0Left stick X axis. Canonical axis index 0.
GAME_CONTROL_AXIS_LEFTYinteger1Left stick Y axis. Canonical axis index 1.
GAME_CONTROL_AXIS_RIGHT_TRIGGERinteger5Right trigger. Canonical axis index 5.
GAME_CONTROL_AXIS_RIGHTXinteger2Right stick X axis. Canonical axis index 2.
GAME_CONTROL_AXIS_RIGHTYinteger3Right stick Y axis. Canonical axis index 3.