XM2w 4k v2 Companion is a lightweight Windows app for the Endgame Gear XM2w 4k v2. Battery always visible, every setting of the official tool, profiles that switch by game, an on-screen CPI display, battery history and a polling rate test – all from one tray icon.
// Features
The official configuration tool is something you open, change and close. This one lives in the tray, starts with Windows and works in the background: it watches the battery, switches profiles when you start a game and shows your CPI when you press the button.
Number and level bar in the tray icon, green → yellow → red. Lightning bolt on the cable. Warnings at 20 % and 10 %, a note when it is fully charged.
Every reading is logged. From the drain since the last charge the app estimates the remaining runtime and draws a history chart.
CPI levels (X/Y), lift-off distance, polling rate, motion sync, angle snapping, ripple control, glass mode, click filters, SPDT, power saving.
4000 Hz when cs2.exe is in front, 1000 Hz power saving on the desktop – switched automatically, only the changed bytes are written.
The mouse reports every CPI button press. The app shows the new value on screen for a second.
Counts the raw input reports while you move the mouse. Is it really 4000 Hz? Now you know.
// Screenshots
Double-click the tray icon to open the settings. Before every write the old settings are backed up, after every write they are read back and compared.


// Measured
Built-in polling rate test, mouse moved in circles. Median of the measured report rate:
Median 4000 Hz, peak 4004 Hz. One report every 0.25 ms.
On the cable the mouse always reports at 1000 Hz – the app locks the field there.
// Under the hood
64-byte HID feature reports on the vendor collection, worked out by static analysis of the official configuration tool. No driver, no kernel component, no admin rights.
| Command | Purpose |
|---|---|
A1 B4 | Battery percent, reply byte 16 |
A1 12 | Read the 1024-byte settings block (report A0) |
A1 14 / 15 / 16 | Write basic / advanced / button settings |
A1 0F | Wireless link check before writing |
A1 13 | Factory reset |
03 02 nn | Input report: CPI button → level nn |
// Install
The self-contained zip runs on any 64-bit Windows 10/11. The small zip needs the .NET 8 Desktop Runtime.
For example to %LOCALAPPDATA%\Programs\XM2wBattery and start XM2wBattery.exe. It adds itself to autostart.
The battery sits next to it. Right-click for settings, profiles, history and the polling test.
// FAQ
The Endgame Gear XM2w 4k v2 over the 4K dongle (PID 1970) or the USB cable (PID 1982). Other Endgame Gear mice use other IDs and are not supported.
While charging the mouse does not report a usable percentage. The tray shows the last wireless reading as a bar and tells you when the mouse is full.
The exe is not code-signed, so new downloads get the SmartScreen warning. The full source is on GitHub, and you can build it yourself with the .NET 8 SDK.
Only if you leave the update check on: once a day it asks the GitHub API for the latest release. You can turn it off under Options. Nothing else leaves your PC.
It sends the same commands as the official tool and backs up your settings before every write. If something goes wrong: restore a backup, use Factory reset, or hold left, right and middle button for 3 seconds.
See the glossary – one short paragraph per setting.