Skip to content
lsl.devlsl.devLSL Dev

ControlButton

Constants in the ControlButton flag set. These are flags and can be combined with bitwise OR.

All constant groups

At a glance, from the LSL definitions
integer CONTROL_BACK = 0x2;  // Tests for the avatar move back control (↓ or S).integer CONTROL_DOWN = 0x20;  // Tests for the avatar move down control (PgDn or C).integer CONTROL_FWD = 0x1;  // Tests for the avatar move forward control (↑ or W).integer CONTROL_LBUTTON = 0x10000000;  // Tests for the avatar left mouse button control.integer CONTROL_LEFT = 0x4;  // Tests for the avatar move left control (Shift + ← or Shift + A).integer CONTROL_ML_LBUTTON = 0x40000000;  // Tests for the avatar left mouse button control while in mouselook.integer CONTROL_RIGHT = 0x8;  // Tests for the avatar move right control (Shift + → or Shift + D).integer CONTROL_ROT_LEFT = 0x100;  // Tests for the avatar rotate left control (← or A).integer CONTROL_ROT_RIGHT = 0x200;  // Tests for the avatar rotate right control (→ or D).integer CONTROL_UP = 0x10;  // Tests for the avatar move up control (PgUp or E).

Constants

ConstantTypeValueDescription
CONTROL_BACKinteger0x2Tests for the avatar move back control (↓ or S).
CONTROL_DOWNinteger0x20Tests for the avatar move down control (PgDn or C).
CONTROL_FWDinteger0x1Tests for the avatar move forward control (↑ or W).
CONTROL_LBUTTONinteger0x10000000Tests for the avatar left mouse button control.
CONTROL_LEFTinteger0x4Tests for the avatar move left control (Shift + ← or Shift + A).
CONTROL_ML_LBUTTONinteger0x40000000Tests for the avatar left mouse button control while in mouselook.
CONTROL_RIGHTinteger0x8Tests for the avatar move right control (Shift + → or Shift + D).
CONTROL_ROT_LEFTinteger0x100Tests for the avatar rotate left control (← or A).
CONTROL_ROT_RIGHTinteger0x200Tests for the avatar rotate right control (→ or D).
CONTROL_UPinteger0x10Tests for the avatar move up control (PgUp or E).

Used by