Hacker News new | ask | show | jobs
by jasomill 2377 days ago
You can remap all G502 buttons to HID mouse button events, just not using any Logitech-supplied software.

Fortunately, these mappings are persistent, so reconfiguring the mouse from a Linux VM, once and for all, was, for me at least, a reasonable alternative.

Unfortunately, the mappings are sufficiently persistent that I don't remember the name of the Linux (command-line) utility that I used several years ago to configure my G502, but a quick Google search suggests the Piper[1] GUI app may be up to the task.

Caveat: if you ever plan on using the mouse with Windows, bear in mind that the Windows HID mouse driver only directly supports buttons 1–5 (though I have observed that the remainder do generate events in the underlying driver stack, so you could hypothetically work around this limitation by writing a filter driver to remap the events, assuming no such driver currently exists).

[1] https://github.com/libratbag/piper/