Garry's Mod Wiki

Revision Difference

Enums/MOUSE#515004

<cat>enum</cat>⤶ <enumeration>⤶ <description>⤶ Enumerations used by:⤶ * <page>input.IsMouseDown</page>⤶ * <page>input.WasMousePressed</page>⤶ * <page>input.WasMouseDoublePressed</page>⤶ ⤶ It's also part of the <page>BUTTON_CODE</page>.⤶ </description>⤶ <fields>{{EnumField|MOUSE_FIRST|107|First mouse button</fields>⤶ ⤶ </enumeration>⤶ ⤶ <enumfield|mouse_left|107|left mouse button}}{{enumfield|mouse_right|108|right mouse button}}{{enumfield|mouse_middle|109|middle mouse button, aka the wheel press}}{{enumfield|mouse_4|110|mouse 4 button ( sometimes, mouse wheel tilt left )}}{{enumfield|mouse_5|111|mouse 5 button ( sometimes, mouse wheel tilt right )}}{{enumfield|mouse_wheel_up|112|mouse wheel scroll up}}{{enumfield|mouse_wheel_down|113|mouse wheel scroll down}}{{enumfield|mouse_last|113|last mouse button}}{{enumfield|mouse_count|7|mouse button count}}>⤶ <fieldsonly>{{{FieldsOnly|</fieldsonly>⤶ ⤶ </enumfield|mouse_left|107|left mouse button}}{{enumfield|mouse_right|108|right mouse button}}{{enumfield|mouse_middle|109|middle mouse button, aka the wheel press}}{{enumfield|mouse_4|110|mouse 4 button ( sometimes, mouse wheel tilt left )}}{{enumfield|mouse_5|111|mouse 5 button ( sometimes, mouse wheel tilt right )}}{{enumfield|mouse_wheel_up|112|mouse wheel scroll up}}{{enumfield|mouse_wheel_down|113|mouse wheel scroll down}}{{enumfield|mouse_last|113|last mouse button}}{{enumfield|mouse_count|7|mouse button count}}>⤶ ⤶ }⤶ }}