Tests
More
Reviews & Guides About Contact
Guide4 min read

What Are Macro Keys and Why Do Some Keyboards Have Them? | G-Keys Explained

A macro key is a programmable key that fires a saved sequence of keystrokes, text, delays, or system commands from a single press.

Press one key, and a keyboard can paste your email signature, mute your mic, or run a four-step app command. That is the entire premise of macro keys, and understanding why some keyboards carry them comes down to one trade: extra physical buttons for repetitive or multi-key actions.

Manufacturers label these keys differently — Logitech uses G-keys, some boards use M-keys — but the function is the same. Each one can be taught a job the standard layout can’t do in a single stroke.

What A Macro Key Actually Does

A macro key sends a command string rather than one character, so a single press can reproduce an entire action. QMK, the open-source firmware behind many custom keyboards, defines a macro as multiple keystrokes sent by one key. That definition covers the whole category.

The actions can be simple or layered:

  • Keystroke sequences — a combo that normally needs two or three fingers.
  • Typed text — an address, a template line, a repeated phrase.
  • Delays — timed pauses between steps, either kept or stripped out.
  • System actions — launching an app, controlling media, managing windows.

The distinction that trips people up: a remap changes what one key does, while a macro emits several inputs or an action chain. A remap turns Caps Lock into Escape. A macro turns one press into Escape, a wait, and a paste.

Why Some Keyboards Include Them

Macro keys exist because a standard layout is a compromise, and some users hit its limits daily. Adding dedicated buttons solves several problems at once.

Logitech’s KEYCONTROL documentation lists the intended uses directly: app launching, media control, copy/paste, window control, macros, shortcuts, and multiple layers. In practice, that breaks down into a handful of real reasons a keyboard ships with them.

  • Repetitive work goes faster. Anyone typing the same sequence dozens of times a day gets it back in one press.
  • Multi-key combos collapse. Three-finger shortcuts become one finger.
  • Games get dedicated controls. Genre-specific commands move off the main cluster.
  • Workflows get customized. Editing, coding, and design tools map frequent commands to reachable keys.
  • Accessibility improves. Users who struggle with chording get single-press alternatives.

Layers extend this further. That is how a board with a handful of extra keys multiplies its usable inputs.

How Macro Keys Get Programmed

Macro keys are configured either through manufacturer software or directly in keyboard firmware, and the route depends on the board. Logitech G HUB and its KEYCONTROL interface handle compatible Logitech G keyboards on Windows and macOS.

The current G HUB procedure runs like this:

  1. Select the keyboard in G HUB.
  2. Open Assignments or KEYCONTROL.
  3. Select MACROS, then CREATE NEW MACRO and name it.
  4. Choose START NOW, then Record Keystrokes or insert text, delays, or system actions.
  5. Stop recording, save, and drag the macro onto a programmable key.

Older Logitech Gaming Software follows a different path: pick the profile, choose Add Function, select Multi Key, name it, hit Start Recording, then drag the saved macro onto the target G-key. Some boards also record in-game — press MR, press the G-key, enter the sequence, press MR again to save.

Firmware-based boards skip the software entirely. QMK’s macro documentation spells out that format, including explicit key-down, key-up, tap, delay, and beep actions.

Mistakes And Limits Worth Knowing

Most macro problems trace back to profile handling, timing, or expectations about what a specific model supports. Logitech requires selecting the relevant profile before assigning G-keys, and skipping that step is why a macro sometimes fires in the wrong application or not at all.

Timing is the second trap. Recorded delays can be kept or removed, and stripping them changes how a sequence behaves — faster, but not always identical. Retaining them keeps fidelity at the cost of speed.

Feature support is the third. KEYCONTROL, G-SHIFT layers, onboard storage, and software recording vary by keyboard model and software generation, so check your specific board rather than assuming. QMK syntax and its 32-macro limit apply only when the keyboard actually runs QMK.

Two practical cautions round this out. Extra keys sit close to the standard layout and get pressed by accident, so test assignments in a harmless app first. And macros can insert text or run system actions — never record passwords, authentication codes, or anything sensitive into a saved profile. Game anti-cheat policies also vary; manufacturer documentation explains configuration but does not guarantee any specific game permits macro use.

If you are shopping for a board with these keys, our roundup of the best gaming keyboard with macro keys covers tested options and how their software holds up.

Sources

Scroll to Top