What Are Macro Keys on a Keyboard and What They Do? | Extra Keys, Real Work

Macro keys are programmable keys that run a preset action — from a single keystroke to a recorded sequence of keyboard and mouse inputs with timed delays.

A macro key is the trigger, not the action itself. That distinction explains most of the confusion around these keys: the hardware promises a button, but the actual command lives in the manufacturer’s software, in onboard memory, or in neither if the board doesn’t support assignment. Logitech calls its versions G-Keys; Razer calls them programmable keys or buttons. Both companies mean the same thing.

Here’s the practical version of what that means for you, which boards actually deliver it, and where the setup breaks.

What Can You Actually Assign to a Macro Key?

A macro key can launch an application, fire a keyboard shortcut, trigger media and system controls, or replay a recorded multi-input sequence with the original timing between presses. What it cannot do is bypass the software or the target program’s rules.

Logitech’s G-Keys documentation describes commands ranging from a single keystroke to complex multi-action sequences. Razer’s Synapse support pages frame the same range around recorded keyboard and mouse functions. In plain terms, the realistic assignments fall into four groups:

  • Single commands. Open an app, mute audio, lock the screen, snap a window.
  • Shortcuts. Paste a saved block of text, switch browser tabs, trigger an editor’s build command.
  • Recorded sequences. A stream of keystrokes and clicks replayed with delays you set.
  • Layered functions. A second, third, or fifteenth action on the same physical key, unlocked by a modifier.

That last one is where modern boards get interesting. Logitech’s KEYCONTROL documentation states one key can hold up to 15 functions, with G SHIFT activating an extra layer. If you do repetitive spreadsheet, editing, or streaming work, layered keys effectively multiply your board without adding desk space.

How Do You Set One Up on Logitech and Razer Boards?

Setup happens in the manufacturer’s software, and the two brands do not use interchangeable menus. Logitech uses G HUB; Razer uses Synapse 4.

For Logitech, open G HUB, select your device, then choose the Assignments icon and pick a command from Commands, Keys, Actions, Macros, or System. Logitech’s own guidance is blunt about missing hardware: if there’s no Assignments tab, that device doesn’t have a G-Key. The Logitech KEYCONTROL guide covers the layered-key side of that setup in more detail.

For Razer, connect a Synapse-enabled device, open Razer Synapse 4, select MACRO and New Macro, rename it, then record your keyboard or mouse functions. Select the device from the dashboard and choose the key or button that receives the macro. Razer states that Windows and FN keys cannot be remapped or assigned a macro in that workflow, and that on-the-fly recording only works with Synapse 4 installed and running in the background.

Feature Logitech (G HUB) Razer (Synapse 4)
Software name G HUB Synapse 4
Setup entry point Assignments icon MACRO > New Macro
Key term for macro keys G-Keys Programmable keys/buttons
Layered functions Yes, via G SHIFT Yes, via Hypershift
Background app required Yes, unless using onboard memory Yes, for on-the-fly recording
Known blocked keys Varies by model Windows and FN keys
Profile migration Through G HUB Migrates Synapse 3 profiles
Onboard macro storage Yes, with known limits Profile-dependent

Why Do Macro Keys Stop Working Sometimes?

Macros usually fail for one of three reasons: the board is running in onboard memory mode, the target program blocks synthetic input, or the anti-cheat system in a competitive game treats the automation as prohibited.

Logitech maintains a specific support entry titled “G HUB Macros Are Not Working In Some Games,” which confirms compatibility isn’t universal. Games can ignore or block injected inputs, and many competitive titles classify multi-action automation as cheating. Check each game’s rules before you rely on a macro — account penalties land on you, not on the keyboard.

Onboard memory is the other trap. A macro that works fine with G HUB running can go dead once the profile is stored on the device, because some macro features don’t carry over. Test your recordings in a plain text editor first, give each macro a clear name, and avoid binding anything destructive until you’ve watched it run correctly a few times.

If your current board doesn’t support any of this, a model with dedicated programmable keys solves it at the hardware level — our roundup of the best keyboards with macro keys covers which ones actually deliver assignable keys.

Do You Need Macro Keys?

Macro keys pay off for anyone repeating the same input sequence daily — spreadsheet drudges, editors, streamers, and sim players get the most out of them. Casual typists rarely touch them twice.

The honest limits: every macro depends on software that must be installed and running, on a board whose keys the software permits remapping, and on applications that accept synthetic input. Nothing about a macro key is universal. Before buying, confirm the specific model lists macro or G-Key support, since Logitech’s own test is the presence of the Assignments tab in G HUB. Then build one macro, verify it in a safe app, and expand from there.

Common Questions

Can I use macro keys on a Mac?

Support varies by manufacturer and model, not by the concept itself. Logitech’s cited documentation identifies G HUB as the relevant software but doesn’t establish universal support for every keyboard, operating system, or region. Check your specific model’s product page and software download listings before assuming a Mac will work.

Are macro keys allowed in online games?

It depends entirely on the game. Competitive titles frequently classify automation and multi-action macros as prohibited, and penalties can hit your account even when the keyboard technically supports the macro. Read each game’s rules and anti-cheat policy before binding anything beyond a simple single keypress.

What’s the difference between a macro key and a remapped key?

A remapped key takes over an existing key’s function — your Caps Lock becomes Escape, for example. A macro key runs a stored command or sequence, which can include multiple inputs with timing. Some boards let you do either on the same physical key, which is why the two get confused.

Sources

  • Logitech G. “KEYCONTROL” Documents G-Key assignment, layered functions, and the 15-functions-per-key capability.
  • Razer Support. “Razer Synapse 4 Support & FAQs” Covers macro recording steps, blocked Windows and FN keys, and background-app requirements.
  • Razer. “Synapse 4” Details Synapse 3 profile migration and firmware update guidance.