Garry's Mod Wiki

Revision Difference

Enums/MOUSE#516194

<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><item key="MOUSE_FIRST" value="107">First mouse button</item><item key="MOUSE_LEFT" value="107">Left mouse button</item><item key="MOUSE_RIGHT" value="108">Right mouse button</item><item key="MOUSE_MIDDLE" value="109">Middle mouse button, aka the wheel press</item><item key="MOUSE_4" value="110">Mouse 4 button ( Sometimes, mouse wheel tilt left )</item><item key="MOUSE_5" value="111">Mouse 5 button ( Sometimes, mouse wheel tilt right )</item><item key="MOUSE_WHEEL_UP" value="112">Mouse wheel scroll up</item><item key="MOUSE_WHEEL_DOWN" value="113">Mouse wheel scroll down</item><item key="MOUSE_LAST" value="113">Last mouse button</item><item key="MOUSE_COUNT" value="7">Mouse button count</item></fields>⤶ <fields>⤶ <item key="MOUSE_FIRST" value="107">First mouse button</item>⤶ <item key="MOUSE_LEFT" value="107">Left mouse button</item>⤶ <item key="MOUSE_RIGHT" value="108">Right mouse button</item>⤶ <item key="MOUSE_MIDDLE" value="109">Middle mouse button, aka the wheel press</item>⤶ <item key="MOUSE_4" value="110">Mouse 4 button ( Sometimes, mouse wheel tilt left )</item>⤶ <item key="MOUSE_5" value="111">Mouse 5 button ( Sometimes, mouse wheel tilt right )</item>⤶ <item key="MOUSE_WHEEL_UP" value="112">Mouse wheel scroll up</item>⤶ <item key="MOUSE_WHEEL_DOWN" value="113">Mouse wheel scroll down</item>⤶ <item key="MOUSE_LAST" value="113">Last mouse button</item>⤶ <item key="MOUSE_COUNT" value="7">Mouse button count</item>⤶ </fields>⤶ <fieldsonly>{{{FieldsOnly|</fieldsonly> </enumeration> } }}