Garry's Mod Wiki

Revision Difference

Enums/JOYSTICK#516555

<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> </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>⤶ }⤶ ⤶ <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"></item>>⤶ <fieldsonly>{{{FieldsOnly|</fieldsonly>⤶ ⤶ </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"></item>>⤶ ⤶ }⤶ }}