MOUSE Enumerations

From Garry's Mod
Jump to: navigation, search

Enumerations used by:

It's also part of the BUTTON_CODE_ Enums.

Warning! Decimal values are for reference only! The actual value may be different between two Garry's Mod versions.
Name Decimal Description
MOUSE_FIRST 107 First mouse button
MOUSE_LEFT 107 Left mouse button
MOUSE_RIGHT 108 Right mouse button
MOUSE_MIDDLE 109 Middle mouse button, aka the wheel press
MOUSE_4 110 Mouse 4 button ( Sometimes, mouse wheel tilt left )
MOUSE_5 111 Mouse 5 button ( Sometimes, mouse wheel tilt right )
MOUSE_WHEEL_UP 112 Mouse wheel scroll up
MOUSE_WHEEL_DOWN 113 Mouse wheel scroll down
MOUSE_LAST 113 Last mouse button
MOUSE_COUNT 7 Mouse button count
Personal tools
Navigation