Logitech G HUB Macro Guide

How to Install a Macro in Logitech G HUB

Learn how G HUB macros work, how to create a simple test macro, how to assign it to a mouse button, and what to check before editing presets.

Basics

How Logitech G HUB Macros Work

Placeholder image: Logitech G HUB macro editor overview

Macros in Logitech G HUB let you build a sequence of actions: keyboard presses, mouse clicks, delays, holds, releases, and repeated inputs.

G HUB supports several macro behavior types:

  • No Repeat - the macro runs once after pressing the assigned button.
  • Repeat While Holding - the macro keeps running while the assigned button is held.
  • Toggle - one press starts the macro, and the next press stops it.
  • Sequence - separate macro stages can run on press, while holding, and on release.

A simple macro can look like this:

input press -> delay -> input release -> delay -> next input press
This guide is for software setup, testing, and macro editor understanding. Always check the rules of any game before using gameplay automation online.
Step by Step

How to Create and Assign a Macro in G HUB

Start with a simple test macro before importing or editing anything more complex. A basic text macro is easy to verify in Notepad.

  1. Open Logitech G HUB and select your mouse.
    Placeholder image: select mouse in Logitech G HUB
  2. Go to Assignments and open the Macros section.
    Placeholder image: assignments and macros tab
  3. Click Create New Macro and give it a clear name, such as test_hi.
    Placeholder image: create new macro name field
  4. Choose a macro type. For a basic test, select No Repeat.
  5. Click Start Now. G HUB will show macro action options, such as keystroke recording, text, system actions, app launch, and delay.
    Placeholder image: macro action options
  6. Add the first key, then add a short delay, then add the second key. For example, use H and I.
    H press -> short delay -> H release -> short delay -> I press -> short delay -> I release
  7. Save the macro after the sequence is complete.
    Placeholder image: saved macro in G HUB
  8. Drag the macro from the Macros list and drop it onto the mouse button you want to use.
    Placeholder image: drag macro to mouse button
  9. Make sure the correct G HUB profile is active. Macro assignments are profile-based, so the wrong profile can make it look like the macro is missing.

Open Notepad and press the assigned button. If the macro was created correctly, it should type hi.

Editor Tools

G HUB Macro Action Types

When you create a macro, G HUB can use several action types. These options are useful when you need to build or edit a preset manually.

  • Record Keystroke - records normal keyboard or mouse inputs.
  • Text & Emojis - inserts custom text or emoji input.
  • Action - assigns supported actions for compatible applications.
  • Launch Application - starts a selected program or game.
  • System - assigns system-level actions.
  • Delay - adds timing between macro actions.
Delays are often the most important part of a preset. If a macro feels wrong, the timing is usually the first thing to check.
Ready-Made Files

How to Use Ready-Made G HUB Presets

Ready-made presets may include profile files, macro notes, screenshots, or manual values. The exact install method depends on the file format and your G HUB version.

  1. Download the preset pack and keep the setup notes with the files.
  2. Open G HUB and select the correct mouse profile.
  3. Import the profile if the preset includes an importable file.
  4. If there is no import file, recreate the macro manually using the included values.
  5. Assign the macro to the correct mouse button.
  6. Test it in a safe environment and adjust timing if needed.
Fixes

Basic Troubleshooting

The macro does not appear

Check the active profile. G HUB profiles are separate, so the macro may exist in another profile.

The macro does not run

Confirm that the macro was assigned to the correct mouse button and that G HUB is running.

The macro repeats incorrectly

Check the macro type. No Repeat, Repeat While Holding, Toggle, and Sequence behave differently.

The timing feels wrong

Edit the delay values. Even small changes can affect how the macro feels.

Next

Next Step

Once you know how to create, assign, and test a macro in Logitech G HUB, you can work with preset packs more safely and edit them for your own DPI, sensitivity, and mouse profile.