Skip to main content

How to map macros on your gaming keyboard

Macros can be a great way to automate mundane functions in your favorite games, or give you a slight speed advantage in high actions-per-minute games, like real-time strategy and MOBA games. While there are some gaming keyboards that come with prerecorded macros for you to use, you still need to apply them, and for most gaming keyboards, you'll need to record them yourself.

But how do you actually do that? Fortunately, most keyboard manufacturers have their own backend software that makes the process very straightforward. Here's how to map macros on your gaming keyboard.

Difficulty

Easy

Duration

15 minutes

What You Need

  • Desktop PC or laptop

  • Gaming keyboard

Logitech G-Hub macro recording.
Jon Martindale / DigitalTrends

How to map macros on Logitech keyboards

Logitech make some great gaming keyboards and mice, and collects all of them for button remapping and lighting management under the Logitech G-Hub application.

For more details, here's our guide on how to use Logitech G-Hub.

Step 1: Download and install the Logitech G Hub from the official website.

Step 2: Open the app and it should automatically detect any Logitech devices you have connected to your PC, including the keyboard. Select it.

Step 3: Select Macros from the left-hand menu.

Step 4: Select Create new macro. Give it a name, then choose what type of macro you want it to be (toggle, repeat, sequence).

Step 5: Select any further relevant options, then select Start now. You can create a macro that performs a range of functions, so select one from the options presented. If you want it to handle a number of sequenced keypresses, select Record keystrokes, then press the keys you want to record.

When you're done, select Stop Recording.

Step 6: Save the macro ,then return to the main keyboard page. Select the key on your keyboard that you want to apply the macro to, then drag and drop the chosen macro on to it.

Razer synapse software recording macros.
Razer

How to map macros on Razer keyboards

Razer also has a robust backend system for remapping keys and recording macros.

Step 1: Download and install the Razer Synapse software from the main website.

Step 2: Open the application and select the Macro icon in the top menu.

Step 3: Select the + icon in the top left and give the new macro a name.

Step 4: Select that macro name from the left-hand list, then select to record or insert inputs.

For recorded inputs, you can simply press Start and begin recording your macro. Select Stop when finished.

For insert, you can use the mouse to select keyboard inputs manually one at a time.

Step 5: Choose any additional parameters like delay functions between keypresses

Step 6: Go back to the main keyboard menu and select the key that you want to apply the macro to.

Step 7: Select Macro from the left-hand menu, then from the drop-down menu under "Assign Macro," select the one you want to apply.

Step 8: If you want to, adjust Playaback option to add repetition, or toggle on and off.

Creating Macros in the Corsair iCue app.
Corsair

How to map macros on Corsair keyboards

Corsair's iCUE software might be one of the best apps out there for managing your component's RGB lighting, but it's also great for managing keyboard remapping, including recording macros.

Step 1: Download and install the Corsair iCUE application from the official website.

Step 2: Open the application and select your keyboard from the list of available Corsair components and peripherals.

Step 3: Select Key assignments from the left-hand menu.

Step 4: In the bottom-left "Assignments" box, select the + icon followed by Macro.

Step 5: Input your sequence of keystrokes and set the additional parameters like looping or toggle on/off.

Step 6: Select which key you want to apply the macro to, then select the menu button to save it to your keyboard.

Now that you've remapped your keyboard and added your favorite macros, why not try adjusting your keyboard's RGB lighting?

Editors' Recommendations

Jon Martindale
Jon Martindale is the Evergreen Coordinator for Computing, overseeing a team of writers addressing all the latest how to…
It’s time to stop ignoring the CPU in your gaming PC
A hand holding an AMD Ryzen CPU.

There's one thing that will strike fear into the heart of any PC gamer: a CPU bottleneck. It's unimaginable that you wouldn't get the full power of your GPU when playing games, which is often the most expensive component in your rig. And although knowledge of what CPU bottlenecks are and how to avoid them is common, we're in a new era of bottlenecks in 2024.

It's time to reexamine the role your CPU plays in your gaming PC, not only so that you can get the most performance out of your rig but also to understand why the processor has left the gaming conversation over the last few years. It's easy to focus all of your attention on a big graphics card, but ignore your CPU and you'll pay a performance price.
The common knowledge

Read more
The simple reasons your PC games don’t play as well as they should
The HP Omen 40L desktop sitting on a coffee table.

Whether you have the best gaming desktop money can buy or a budget-oriented PC, the whole point of it all is to be able to play your favorite games and make them look nice and run great. Not every gamer cares about visuals, but performance matters, and getting your money's worth out of your PC is important, too.

If a PC performs poorly in games, many of us immediately assume that the hardware is to blame. Sure, that can often be the case, but before you start looking into ways to upgrade your computer, try out these solutions that might solve your problem and let you get back to high-quality gaming.
PC settings
Whether you're dealing with poor performance, such as stuttering and low frames per second (fps), or you're simply unhappy with how your games look, the root of the problem might lie in the settings of your PC -- and as such, it could be an easy fix.

Read more
Gaming laptops vs. desktops: here’s how to decide which to buy in 2024
Lenovo Legion 9i front view showing RGB lighting.

Picking between a gaming laptop and a desktop is often pretty straightforward: You either need the portability or you don't. But if you're fine with or without it, then what's the best option?

Even when equipped with the same model of graphics card and processor, laptops and desktops are vastly different. We'll tell you everything you need to know to choose the one that suits you best.
Gaming laptop vs. desktop at a glance

Read more