Garry's Mod Wiki

Revision Difference

Enums/JOYSTICK#516343

<cat>enum</cat> <enum> <description> Enumerations used by <page>input.IsButtonDown</page>. It's also part of the <page>BUTTON_CODE</page>. </description> <items><item key="JOYSTICK_FIRST" value="114</items>⤶ <items>⤶ <item key="JOYSTICK_FIRST" value="1">14</item>⤶ <item key="JOYSTICK_FIRST_BUTTON" value="1">14|rowspan=2|Joystick buttons are in this range, but don't have individual enum names.</item>⤶ <item key="JOYSTICK_LAST_BUTTON" value="1">45|style="display:none"|</item>⤶ <item key="JOYSTICK_FIRST_POV_BUTTON" value="1">46|rowspan=2|Joystick POV buttons are in this range, but don't have individual enum names.</item>⤶ <item key="JOYSTICK_LAST_POV_BUTTON" value="1">49|style="display:none"|</item>⤶ <item key="JOYSTICK_FIRST_AXIS_BUTTON" value="1">50|rowspan=2|Joystick axis buttons are in this range, but don't have individual enum names.</item>⤶ <item key="JOYSTICK_LAST_AXIS_BUTTON" value="1">61|style="display:none"|</item>⤶ <item key="JOYSTICK_LAST" value="1">61</item>⤶ </items>⤶ <fieldsonly>{{{FieldsOnly|</fieldsonly>⤶ </enum> {{EnumField">JOYSTICK_FIRST_BUTTON|114|rowspan=2|Joystick buttons are in this range, but don't have individual enum names.</item>⤶ <item key="JOYSTICK_LAST_BUTTON" value="145">style="display:none"|</item>⤶ <item key="JOYSTICK_FIRST_POV_BUTTON" value="146">rowspan=2|Joystick POV buttons are in this range, but don't have individual enum names.</item>⤶ <item key="JOYSTICK_LAST_POV_BUTTON" value="149">style="display:none"|</item>⤶ <item key="JOYSTICK_FIRST_AXIS_BUTTON" value="150">rowspan=2|Joystick axis buttons are in this range, but don't have individual enum names.</item>⤶ <item key="JOYSTICK_LAST_AXIS_BUTTON" value="161">style="display:none"|</item>⤶ <item key="JOYSTICK_LAST" value="161}}">FieldsOnly={{{FieldsOnly|</item>⤶ }⤶ }⤶ }}