Logitech G HUB Overview and CS2 Macros Guide

Table of Contents

Logitech G HUB is the main software for Logitech G mice, keyboards, headsets, and other gaming devices. It lets you control DPI, profiles, button assignments, LIGHTSYNC RGB, and macros, including more advanced Lua scripting on supported devices.

This Logitech G HUB macros guide focuses on Counter-Strike 2. I’ll show how G HUB profiles, assignments, macro types, delays, button presses, and playback modes work, then explain several CS2 macro examples such as jump throw, burst fire, bunny hop, fast scope, and repeated click macros.

Logitech G HUB Interface Overview

The G HUB interface is built around device control, profiles, shared community presets, and general software settings. It can be used to configure mice, keyboards, headsets, webcams, RGB lighting, button assignments, DPI levels, macros, and game-specific presets.

The main G HUB window is built around four key areas: Devices, Community, Profiles, and the Gear icon for general settings. These sections are enough to understand how the software works before moving deeper into device settings and macros.

General Settings, Community, Profiles, and Devices

Logitech G HUB General Settings screen with launch, lighting, profile, notification, and analytics options
General Settings section in Logitech G HUB

The Gear icon opens the general G HUB settings. This is where you can manage software updates, startup behavior, notifications, analytics options, persistent profiles, and other global settings that affect how G HUB runs in the background.

Logitech G HUB Community tab showing shared device profiles and recent lighting effects from other users
Community section in Logitech G HUB

The Community tab is used for shared content. Players can browse and download user-made lighting effects, audio presets, device profiles, and macros. This can be useful if you want to test ready-made setups, but every downloaded profile should still be checked manually, especially if it includes macros or unusual button assignments.

The Profiles tab controls how G HUB behaves in different games and applications. You can create a global desktop profile, then separate profiles for CS2, CS 1.6, or any other game. When a selected game or program starts, G HUB can automatically switch to the matching profile. This is useful because the same mouse button can perform different actions depending on the active profile. For example, a side mouse button can work as "Back" in Windows, as a custom bind in CS2, and as a different command in CS 1.6.

Logitech G HUB Lua scripting editor showing an active Lua script for a desktop profile
Lua scripting editor in Logitech G HUB

The Profiles tab also includes Scripting, where more advanced Logitech setups can use Lua scripts. Unlike simple macros, Lua scripts are written in a real programming language and can create much more complex behavior.

Logitech G HUB Devices tab showing a G502 HERO mouse and G213 keyboard connected in the default desktop profile
The main Logitech G HUB Devices screen

The Devices tab shows your connected Logitech G mice, keyboards, headsets, and other supported devices. This is where the main device configuration happens. For a mouse, this usually includes sensitivity, DPI levels, button assignments, macros, and lighting. For a keyboard, it can include key assignments, lighting zones, game mode behavior, and macro keys.

Devices and On-board Memory

Logitech G HUB On-board Memory Mode popup explaining that settings can be stored directly on the device
On-board Memory Mode prompt in Logitech G HUB

Many Logitech G devices also support On-board Memory. This allows some settings to be saved directly into the device, so they can work without G HUB constantly controlling them in the background. However, this mainly applies to simpler settings such as DPI levels, basic button assignments, and lighting profiles. More advanced macros, software-based actions, and Lua scripts usually require G HUB to be running.

Logitech G HUB Device Settings

After the main G HUB interface, the next part is the device settings. For this guide, the most important devices are the mouse and keyboard. Let’s start with the mouse, where G HUB usually shows three main tabs: Sensitivity (DPI), Assignments, and LIGHTSYNC.

Sensitivity (DPI) Tab

The Sensitivity (DPI) tab is used to configure mouse sensitivity levels. Here you can set the DPI values used by the mouse and choose how many sensitivity stages you want to keep.

Logitech G HUB Sensitivity (DPI) tab for G502 HERO with DPI speed levels and report rate settings
Sensitivity (DPI) settings in Logitech G HUB

By default, the Logitech G502 mouse uses four DPI levels: 1200, 2400, 3200, and 6400. These values are not fixed. You can change them, remove existing DPI stages, or add new ones depending on how you want the mouse to behave in games, Windows, or other applications.

LIGHTSYNC Tab

The LIGHTSYNC tab controls mouse lighting. On the G502, it includes two lighting zones: Primary and Logo.

Logitech G HUB LIGHTSYNC tab for G502 HERO with primary lighting zone, cycle effect, rate, and brightness controls
LIGHTSYNC lighting in Logitech G HUB

The Primary section controls the main lighting profile, while Logo controls the illuminated Logitech G logo. For both zones, you can choose a color from the RGB palette and select an effect. This allows you to keep a static color, use animated lighting, or match the mouse lighting with the rest of your Logitech G setup.

Assignments Tab

The Assignments tab is used for buttons and actions. This is where you assign commands to mouse buttons or keyboard keys, depending on the selected device and active profile.

Logitech G HUB Assignments tab showing saved macros and G502 HERO mouse button mapping
Macros list and button assignment screen in Logitech G HUB

G HUB separates assignments into several categories:

  • Commands - system-style commands usually triggered by common shortcuts, such as copy, paste, undo, and similar actions.
  • Keys - assigns a keyboard key to a mouse button. For example, a mouse button can act like a specific keyboard key when pressed.
  • Actions - assigns actions from a supported application or game profile.
  • Macros - used to record, create, and assign macros.
  • System - contains device-related and system-level functions, including button swapping, mouse functions, and other control options.

After a macro is created, drag it from the Macros list and drop it onto the button you want to use. The selected mouse button will trigger the macro.

Keyboard Assignments

Logitech G HUB G213 keyboard assignments screen showing F1-F12 keys available for commands and macros
G213 keyboard assignments screen in Logitech G HUB with F1-F12 key mapping

Keyboard setup in G HUB works in almost the same way as mouse setup. The main difference is where the macro can be assigned. On many Logitech G keyboards, macros can be assigned to the F1-F12 keys, giving you up to twelve macro slots directly on the keyboard.

Keyboard macros are useful when you do not want to overload mouse buttons, or when a macro is easier to trigger from the keyboard.

How Logitech G HUB Macros Work

Macros in Logitech G HUB allow you to record or manually build a sequence of actions: keyboard presses, mouse clicks, delays, holds, releases, and repeated inputs. In Counter-Strike, a macro can be understood as a higher-level automation layer above a normal bind or an in-game alias.

A basic structure looks like this:

  • Bind - performs one action, command, or activation.
  • Script / Alias - performs a chain of in-game commands.
  • Macro - performs a chain of physical inputs with timing, delays, and a selected playback mode.

Logitech G HUB supports four main macro types:

  • No Repeat - the macro runs once after pressing the assigned button.
  • Repeat While Holding - the macro keeps running while the assigned button is he
  • Toggle - one press starts the macro, and the next press stops it.
  • Sequence - a more advanced mode where different parts of the macro can run on press, while holding, and on release.

How to Create and Assign a Macro in G HUB

To create a macro in Logitech G HUB, open the selected device, go to Assignments, choose Macros, and click Create New Macro.

Logitech G HUB macro editor showing recorded keyboard inputs and a Text & Emojis panel
Macro recording screen in Logitech G HUB

After that, select the macro type, click Start Now. G HUB will open a menu with several macro action types:

  • Record Keystroke - records a normal sequence of keyboard or mouse inputs, including scroll actions.
  • Text & Emojis - creates a custom text or emoji input that can be inserted into a selected field with one button press.
  • Action - assigns a supported action for a compatible game or application.
  • Launch Application - starts a selected program or game.
  • System - assigns one or more system-level actions.
  • Delay - adds custom timing that can be placed between macro actions.

Choose a type, add the required inputs or delays, and save the macro.

Then the macro is created, drag it from the Macros list and drop it onto the mouse button or keyboard key you want to use. Make sure the correct G HUB profile is active, because macro assignments are profile-based.

CS2 Macro Examples for Logitech G HUB

The examples below are shown for educational testing and macro editor understanding only. I do not recommend using gameplay automation in CS2 Competitive or Premier modes.

Below are several Counter-Strike 2 macro examples created with Logitech G HUB input-and-delay logic. These examples show how timing, button presses, releases, and repeat modes can be combined inside one macro.

In G HUB, HyperX NGENUITY, Bloody Esports, Razer Synapse, and many similar programs, a simple macro usually follows this structure:

first input press -> X ms -> first input release -> X ms -> second input press -> etc

However, G HUB can also control more than one input at the same time. This is important for macros where two or more buttons must overlap for a short moment. For example, a Jump Throw macro needs to pull the pin with +attack and almost immediately trigger +jump. In this case, the macro controls two inputs, and the structure looks more like this:

first input press -> X ms -> second input press -> X ms -> first input release -> X ms -> second input release

Macro notation used below:

  • LMB - left mouse button
  • RMB - right mouse button
  • MouseX - extra mouse button
  • Space, H, or any other key - keyboard key
  • X ms - delay in milliseconds

CS2 Jump Throw Macro

Logitech G HUB Jump Throw macro with left mouse button and Space key inputs using 55 ms, 107 ms, and 50 ms delays
Jump Throw macro in Logitech G HUB

The classic jump-throw bind was limited by the cl_allow_multi_input_binds cvar introduction on August 19, 2024. I already have a separate guide for the usual alias-based Jump Throw script, including a version that works around this limitation, but a mouse macro can perform extremely well because of precise timing.

With the right timing, a jump-throw macro can make grenade throws much more consistent. You aim, press one button, and the macro handles the jump and release sequence. With running before the throw, it can also throw utility over long distances each time with high accuracy.

The macro type is No Repeat, the sequence is:

LMB press -> 55 ms -> Space press -> 107 ms -> LMB release -> 50 ms -> Space release

CS2 AK-47 Burst 3 Macro

Logitech G HUB AK-47 Burst 3 macro with left mouse button input and custom 179 ms and 3 ms delays
AK-47 Burst 3 macro in Logitech G HUB

The AK-47 Burst3 macro is a simple shooting macro that holds the left mouse button long enough to fire a short burst (3 bullets) instead of a full spray. It is designed for short controlled bursts, where the player wants several shots without fully committing to continuous fire.

The macro type is No Repeat, the sequence is:

LMB press -> 179 ms -> LMB release -> 3 ms

The short 3 ms break helps separate bursts and gives better control when repeating the macro several times.

CS2 AK-47 Single Shot Macro

Logitech G HUB AK-47 Burst One macro with repeated left mouse button inputs and custom firing delays
AK-47 Burst One macro in Logitech G HUB

The AK-47 Burst One macro is built for controlled single-shot rhythm while the button is held. Instead of manually clicking every shot, the macro creates a repeated firing pattern with short press timing and longer recovery delays between shots.

The macro type is Repeat While Holding, the sequence is:

LMB press -> 17 ms -> LMB release -> 175 ms -> LMB press -> 17 ms -> LMB release -> 190 ms

CS2 Bunny Hop Macro

Logitech G HUB Bunny macro with repeated Space key input and a custom 54 ms delay
Bunny macro in Logitech G HUB

The Bunny macro imitates repeated Space presses with a fixed delay. Instead of enabling commands like sv_cheats 1 and sv_enablebunnyhopping 1, this macro creates its own jump cycle through mouse or keyboard input.

The macro type is Toggle, the sequence is:

Space press -> 54 ms -> Space release

You are not locked to the timing used by sv_enablebunnyhopping. The delay can be adjusted manually until the jump rhythm feels comfortable for your movement style.

CS2 Scout Fast Scope Macro

The Scout Fast Scope macro is based on a quick right-click and left-click sequence. It quickly activates zoom, fires, and releases the input with very short delays between each action.

Logitech G HUB Scout Fast Scope macro with right mouse button and left mouse button inputs using 22 ms, 35 ms, and 33 ms delays
Scout Fast Scope macro in Logitech G HUB

The first zoom level may appear only for a very short moment, but the shot is still fired during that scoped timing window. This makes the shot more accurate than a pure no-scope, even if the zoom animation is barely visible.

The macro type is No repeat, the sequence is:

RMB press -> 22 ms -> RMB release -> 35 ms -> LMB press -> 33 ms -> LMB release

CS2 TEC-9 Macro

Logitech G HUB TEC-9 click repeat macro with left mouse button input and custom 55 ms and 75 ms delays
Tec-9 macro in Logitech G HUB

The Tec-9 Click Repeat macro imitates repeated left mouse button presses with selected delays between shots. Instead of clicking manually as fast as possible, the macro creates a steadier shooting rhythm that is easier to control.

This can make the Tec-9 feel much closer to an automatic weapon in short fights. It can be especially useful for players who have trouble clicking quickly while keeping the crosshair stable on the target.

With the right rhythm, the TEC-9 becomes a very dangerous eco-round weapon.

The macro type is Repeat While Holding, the sequence is:

LMB press -> 55 ms -> LMB release -> 75 ms

Other CS2 Macro Ideas for Logitech G HUB

Other macros can be built with the same input-and-delay logic.

For the Desert Eagle, repeated shots can be slowed down slightly. This helps reduce spam-clicking and gives the weapon more time to recover accuracy between shots.

The same approach can be tested with the AUG and SG 553. A slightly slower firing rhythm can make short bursts tighter and easier to control.

Another possible example is a defuse + smoke macro. The player starts defusing with the Use key, and the macro quickly throws a smoke under the player to cover the defuse position.

Conclusion

Logitech G HUB can fully manage Logitech G gaming devices like mice, keyboards, headsets, mousepads, and more. It controls their profiles, DPI levels, button assignments, LIGHTSYNC RGB, keyboard functions, macros, and advanced Lua scripting for supported Logitech G devices.

In this guide, I tried to focus on the macro system. It allows you to create input sequences with clicks, keystrokes, delays, holds, releases, and different playback modes, then assign them to mouse buttons or keyboard keys. This makes it useful for testing, comfort setups, repeated actions, and game-specific profiles.

Macros should be used carefully. Different games, servers, leagues, and platforms may treat input automation differently.

Logitech G HUB Macro FAQ

A glowing 'FAQ' displayed on a futuristic holographic panel, surrounded by floating question marks and digital circuitry within a cosmic, sci-fi environment
What is Logitech G HUB used for?

Logitech G HUB is used to configure Logitech G gaming devices, including mice, keyboards, headsets, webcams, mousepads, profiles, DPI levels, LIGHTSYNC RGB, button assignments, macros, and Lua scripts on supported devices.

Can Logitech G HUB create macros?

Yes, Logitech G HUB can record or manually create macros with clicks, keystrokes, delays, holds, releases, and different playback modes. After creating a macro, you can assign it to a mouse button or keyboard key.

What macro types are available in Logitech G HUB?

G HUB supports several macro playback types: No Repeat, Repeat While Holding, Toggle, and Sequence.

Can Logitech G HUB macros be used in games?

Yes, but they should be used carefully. Different games, servers, leagues, and platforms may treat input automation differently, especially if a macro affects shooting, movement, or repeated actions.

Continue Reading

A sleek gaming-themed graphic for "CS2 Useful Binds," featuring a glowing keyboard and mouse with bind icons like grenades, bombs, and FPS stats.
Counter-Strike 2 Useful Binds

Counter-Strike 2 Useful Binds – Full Guide 2026 Table of Contents Counter-Strike 2 is a game where milliseconds decide whether you clutch the round or end up on the scoreboard as another frag. Every action counts – switching weapons, dropping the bomb, throwing a grenade with perfect timing, or simply

Read More
Leave a Reply

Your email address will not be published. Required fields are marked *