Garry's Mod Wiki

Revision Difference

Enums/JOYSTICK#516575

<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="114"></item>⤶ <item key="JOYSTICK_FIRST_BUTTON" value="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>⤶ </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"></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>>⤶ } }}