Macros for Call of Duty
G.MACRO Call of Duty Edition is a customizable Lua program for Logitech mice that support G HUB. Adjust horizontal and vertical compensation and the delay between movements. Two presets let you keep settings for different weapons or builds.
G.MACRO Call of Duty Edition features
Mouse and keyboard shortcuts
Hold the keyboard key first, then press the mouse button. The screenshot shows the default shortcuts.
Assigning keyboard G keys
A compatible Logitech keyboard supports ten assignments: increase or decrease X, Y and delay, switch presets, toggle the clicker or X/Y jitter, and show settings. All _G_BUTTON variables default to 0. For example, set MODE_CHANGER_G_BUTTON = 1 to switch presets with G1 instead of right Shift + wheel click.
Turning the macro on and off
Turn on Caps Lock (OFF_ON_MACROS_KEY = "capslock"). In normal mode, hold RMB and press LMB. With REQUIRE_RMB = true, keep both buttons held. Set it to false to use LMB alone. When the clicker is enabled, hold left Alt and press LMB to start it. It keeps clicking until you release left Alt.
Mode #1 and Mode #2
The script starts in Mode 1.
X/Y jitter is off by default in both modes.
Switching modes reloads these five values from the script. To keep X, Y and delay values you tuned in game, display them in the console and copy them into the corresponding preset (MODE_1_* or MODE_2_*).
Both presets share the axis inversion settings. INVERSION_X and INVERSION_Y default to 1; use -1 to reverse either axis. RANDOM_XY_VALUE sets the amount of movement jitter (default 1). RANDOM_DELAY_MODE independently varies the delay by up to 2 ms in either direction and defaults to off. Help is enabled (HELP_MODE = true). The console defaults to Russian; set LANGUAGE = "EN" for English.
Free Call of Duty macros
Trying out macros for the first time? Free macros for Call of Duty are collected on a separate page: download the free universal macros.
