MOUSE
Description
Enumerations used by:
It's also part of the BUTTON_CODE enum.
Catch mouse wheel
You can catch the mouse wheel's value by:
Values
| 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 |
Garry's Mod
Rust
Steamworks
Wiki Help