JOYSTICK Enumerations

From Garry's Mod
Jump to: navigation, search

Enumerations used by input.IsButtonDown.

It's also part of the BUTTON_CODE_ Enums.

Warning! Decimal values are for reference only! The actual value may be different between two Garry's Mod versions.
Name Decimal Description
JOYSTICK_FIRST 114
JOYSTICK_FIRST_BUTTON 114 Joystick buttons are in this range, but don't have individual enum names.
JOYSTICK_LAST_BUTTON 145
JOYSTICK_FIRST_POV_BUTTON 146 Joystick POV buttons are in this range, but don't have individual enum names.
JOYSTICK_LAST_POV_BUTTON 149
JOYSTICK_FIRST_AXIS_BUTTON 150 Joystick axis buttons are in this range, but don't have individual enum names.
JOYSTICK_LAST_AXIS_BUTTON 161
JOYSTICK_LAST 161
Personal tools
Navigation