Logitech G HUB features a built-in Lua API engine that allows executing precise mouse movement scripts without installing external third-party software.
1. Step-by-Step Installation Tutorial
- Launch official Logitech G HUB software.
- Click your active mouse (e.g. G PRO X Superlight or G502 HERO).
- Select the CS2 Profile from top menu.
- Click the Scripting option at the bottom.
- Click
Create New Lua Script-> Paste the provided MACROSCS Lua script. - Click Script -> Save & Run.