Garry's Mod Wiki

ANALOG

Description

The analog axis to get the value of via input.GetAnalogValue.

Values

ANALOG_MOUSE_X0
ANALOG_MOUSE_Y1
ANALOG_MOUSE_WHEEL3
ANALOG_JOY_X4Joystick X axis, usually bound to movement strafing.

Left thumbstick sideways movement, negative values is left, positive right.

ANALOG_JOY_Y5Joystick Y axis, usually bound to movement forward/backward.

Left thumbstick up/down movement, negative values is forwards, positive backwards.

ANALOG_JOY_Z6
ANALOG_JOY_R7Joystick R axis, usually bound to looking up and down.

Right thumbstick up/down movement, negative values is upwards, positive downwards.

ANALOG_JOY_U8Joystick U axis, usually bound to looking left and right.

Right thumbstick sideways movement, negative values is left, positive right.

ANALOG_JOY_V9