Quick fix: Install X-Mouse Button Control (free) from highrez.co.uk. Run it. Right-click side button entries → assign actions (Copy, Paste, Window switch, etc.). Or use AutoHotkey for scripting. Or for PowerToys users: Keyboard Manager remaps mouse buttons via mouse-to-keyboard chord. Avoids needing Logitech G Hub, Razer Synapse, etc.
Mouse side buttons (XButton1, XButton2) typically default to browser Back/Forward. To customize without installing manufacturer’s bloated utility: use lightweight third-party tools. X-Mouse Button Control is the de facto standard.
Affects: Windows 11 (and Windows 10) with multi-button mice.
Fix time: ~10 minutes.
What causes this need
Mice from Logitech, Razer, SteelSeries, Corsair, etc. come with bloated utility software. Reasons to skip:
- Manufacturer utility eats RAM (50-100MB).
- Frequent updates and ads in utility.
- Cloud sync requires account creation.
- Corporate-restricted PCs may not allow utility install.
- Older mouse models no longer supported.
Lightweight third-party tools work with any mouse, system-wide.
Method 1: X-Mouse Button Control (recommended)
The standard route.
- Download from highrez.co.uk/downloads/XMouseButtonControl.htm. Free.
- Install. Run.
- Main window: list of buttons. Click Button 4 (XButton1) entry.
- From dropdown: pick action. Options include:
- Standard actions: Copy, Cut, Paste, Save, Undo, Redo.
- Window: minimize, maximize, switch.
- Browser: refresh, back, forward.
- Media: play/pause, volume.
- Keyboard: simulate any key/combo.
- Launch: open app or URL.
- Mouse: scroll up/down, double-click.
- Click Apply.
- Test: press the mouse button. Configured action fires.
- For per-app profiles: click Add in left pane → pick app (browser, game, IDE). Configure button differently per app.
- X-Mouse runs in system tray. Start with Windows: Options → Start with Windows.
This is the standard usage.
Method 2: AutoHotkey for scripting
For advanced custom logic.
- Install AutoHotkey v2 from autohotkey.com. Free, open-source.
- Create a .ahk script file. Right-click .ahk → Open with AutoHotkey.
- Example script:
; XButton1 = back, XButton2 = forward (default browsers) ; Custom: XButton1 = Ctrl+C (copy), XButton2 = Ctrl+V (paste) XButton1::Send "^c" XButton2::Send "^v" - Save. Double-click .ahk file. Script runs (icon in system tray).
- Per-app conditional:
#HotIf WinActive("ahk_exe code.exe")wraps hotkeys for specific app (VS Code in this case). - Complex actions:
; Side button + scroll = volume control ~XButton1 & WheelUp::Send "{Volume_Up}" ~XButton1 & WheelDown::Send "{Volume_Down}" - Test thoroughly — AHK runs system-wide and can intercept many keys.
- For startup: place .ahk in
shell:startupfolder. Runs at login.
This is for scripting workflows.
Method 3: PowerToys Keyboard Manager (limited)
For Microsoft-supported route.
- PowerToys’ Keyboard Manager remaps keyboard, not mice directly.
- Workaround: configure mouse software (if any) to send a specific keyboard chord, then remap that chord via PowerToys.
- For users who don’t want any third-party tools: limited to what manufacturer’s utility offers.
- For Microsoft mice: Microsoft Mouse and Keyboard Center (free, Microsoft Store). Lightweight Microsoft-supported.
- For Bluetooth mice: limited customization. Windows treats them generically.
- For gaming mice with on-board memory: configure profiles via utility once, save to mouse memory, uninstall utility. Mouse remembers profiles independently.
- For Logitech G Hub users: G Hub has lightweight mode. Or use Logitech’s older Logitech Options (smaller footprint).
This is the Microsoft-supported alternative.
How to verify the fix worked
- Press the mouse side button. Configured action fires.
- X-Mouse / AHK icon visible in system tray.
- Configuration survives reboot.
- No conflict with browser back/forward (if remapped).
If none of these work
If buttons don’t register: Mouse driver: install generic Windows mouse drivers. Manufacturer drivers sometimes filter side buttons. For gaming mice with on-board memory: button mapping in mouse’s memory overrides Windows. Reset mouse to defaults via utility, then customize via X-Mouse. For wireless dongles: signal interference can drop button presses. Test wired. For specific apps not seeing button: app has its own input handler. Configure within app instead. For Windows 11 24H2: improved mouse-button handling. Some old utilities may not work. Use X-Mouse v2.20+ for current Win versions. For ergonomic / vertical mice: some have extra buttons that need ABS HID mode. Check mouse documentation. For touchpad “side buttons”: precision touchpads support gestures, not buttons. Configure via Settings → Bluetooth & devices → Touchpad.
Bottom line: X-Mouse Button Control (free, highrez.co.uk) for GUI remapping. AutoHotkey for scripted logic. PowerToys not directly mouse-capable. Avoid bloated manufacturer utilities.