# Terms

> What LMB and RMB mean, why our macros use CapsLock, what the active mode and the G HUB script console are, G keys and the proscripts algorithm, in short and with screenshots.

URL: https://promacro.ru/en/knowledge-base/terms/
Updated: 2026-11-01

Short explanations of words you'll often meet in our guides and in our macros' messages.

## Mouse and macros
### LMB
**LMB** is the **L**eft **M**ouse **B**utton, also called the primary button, Mouse Button 1 or Primary click. In Russian it's ЛКМ, which is why you may see LKM in macro names.

A4Tech mice also have a macro version with the same name, [LMB macros](https://promacro.ru/en/knowledge-base/macro-formats/#lmb). They aren't loaded onto the LMB, but they fire when you press it.

### RMB
**RMB** is the **R**ight **M**ouse **B**utton, also called Mouse Button 2 or Secondary click. In Russian it's ПКМ.

On A4Tech mice it's used by the RL macro versions, [RL macros](https://promacro.ru/en/knowledge-base/macro-formats/#rl). They're loaded onto the LMB but fire when you hold **RMB + LMB**.

### Proscripts algorithm
Our algorithm for calculating professional macros from a mathematical model of each weapon's recoil. It makes **the macro match the weapon's average recoil pattern precisely**, using a corrected spatio-temporal recoil model.

The latest version of the multi-stage proscripts algorithm produces [professional macros](https://promacro.ru/en/knowledge-base/macro-formats/#pro) at the limit of what macros can do.

## Logitech G HUB
### CapsLock
In most of our Logitech packs, Caps Lock **turns macros on and off**. To shoot without a macro, turn Caps Lock off, even if you've already selected a [weapon profile](#active-mode).

```text
MACROS ON/OFF: CapsLock ON/OFF
```

If CapsLock is on and any weapon's active mode is on, macros work.

CapsLock toggles **aren't shown in the G HUB console**, but if it's off when you turn on a weapon mode, a warning appears in the [console](#g-hub-console).

With the console set to Russian, this message asks you to turn Caps Lock on:

```text
ВНИМАНИЕ! [CAPSLOCK] ВЫКЛЮЧЕН. ВКЛЮЧИТЕ [CAPSLOCK] для работы макросов!
```

You can replace CapsLock with another lock key with the [OFF_ON_MACROS_KEY](https://promacro.ru/en/knowledge-base/lua-variables/#off-on-macros-key) variable: ScrollLock (`"scrolllock"`) or NumLock (`"numlock"`).

```lua
local OFF_ON_MACROS_KEY = "capslock"
```

After any change to a G HUB script, **save it and run it again**.

### Active mode
A specific weapon's mode, turned on with a keyboard key + mouse button combination (or a [G key](#g-keys)). While it's on, macros fire with maximum recoil control for exactly that weapon.

```text
XAOC / HAVOC RIFLE: LEFT SHIFT + MOUSE BUTTON 5
```

After you press the combination set for a weapon in the G HUB script, a message appears in the [console](#g-hub-console):

For example, the Russian console confirms that HAVOC mode is active and prompts you to hold RMB and LMB:

```text
(RU)
РЕЖИМ МАКРОСОВ ДЛЯ <ХАОС> АКТИВИРОВАН
Зажмите ПКМ (правая кнопка мыши) и ЛКМ (левая кнопка мыши) для стрельбы в режиме макросов.
```

Why "mode" and not "macro"? Because **one weapon's active mode can include many macros** whose behaviour changes depending on the pack and the game.

### G HUB script console
The pane at the bottom of the `Lua` script editor in G HUB where our macros print a greeting, the active weapon, setting values and hints.

<img src="/en/images/logitech-g-hub-console.webp" width="1353" height="1103" loading="lazy" decoding="async" alt="Logitech G HUB console" />

If you don't see the console, turn it on in the top menu: "View" → "Console".

![How to show the console in Logitech G HUB](https://promacro.ru/en/_astro/how-to-show-the-console-in-logitech-g-hub.CjisvbiD_AyRoW.webp)

Also make sure the console isn't collapsed down to the bottom edge of the window.

![Collapsed G HUB console](https://promacro.ru/en/_astro/collapsed-g-hub-console.Fh8QDUax_H7JJN.webp)

It's best to stretch the console right away so the greeting fits. **The G HUB console is your main helper**: it makes our latest macros much easier to figure out.

### G keys on Logitech keyboards
Programmable G keys on Logitech keyboards. In MINI, STANDARD and MAX game packs you can **assign weapon modes to them** with the [%WeaponName%_G_BUTTON](https://promacro.ru/en/knowledge-base/lua-variables/#weaponname-g-button) variables.

However, **not all Logitech keyboards let you bind G keys to `Lua` scripts**, even when programmable G keys are advertised. Check with **Logitech support**.

How to install `Lua` scripts in G HUB is shown in the [Logitech G HUB guide](https://promacro.ru/en/instructions/how-to-install-macro-on-logitech-g-mouse/#logitech-keyboard-g-keys).
