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.




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.

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.

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…
The best mechanical keyboards you can buy
hail your mechanical overlord why keyboards arent just for geeks anymore keyboard mem 4

Mechanical keyboards are some of the most beloved among typists and gamers. They can offer the fastest and most accurate switches, great RGB lighting, and fantastic durability. But even among the best keyboards, some simply outshine all the others. Our favorite is the Logitech G915 TKL, which has a great compact design, excellent switches, and a fast and responsive wireless connection.

Whether you’re looking for a wireless keyboard or a gaming keyboard, we’ve gathered the best mechanical keyboards for everyone.

Read more
Why the Vision Pro could be huge for gaming, but not how you think
A person plays a basketball game using an Apple Vision Pro headset and a games controller.

Unlike so many of its competitors, the Vision Pro was never presented as a gaming headset. That shouldn't come as a surprise, especially given Apple's track record in this department.

But just because Apple is taking a different approach than conventional VR headsets, that doesn't mean gaming couldn't be big on the Vision Pro. Just look at what happened to the iPhone and iPad over time. But could the Vision Pro ever grow into a platform for games as robust as the iPhone app store?

Read more
How to use cut, copy, and paste keyboard shortcuts in Windows

Are you tired of all the right-clicking just to access simple commands like cut, copy, and paste? Sure, it's not super labor-intensive, but it can get really annoying after a while when you're constantly summoning one of these actions using a mechanical rodent.

If you’re not utilizing shortcut commands, you’re missing out on an easy way to save time and effort. Read on to learn simple commands that combine Control (Ctrl) and other keys to cut, copy, paste, and even undo actions across Windows apps.
Selecting text and moving your cursor (without a mouse)

Read more