Linux has stuff like Solaar and Piper/libratbagd, which is great. For macOS, it looks like SteerMouse does quite nicely, even for mice with many extra buttons. So does G-Hub have any alternatives like this on Windows? It would make recommending Logitech mice to Windows-bound friends and family so much easier.
(My favorite forever for these reasons was Roccat, everything their mice can do they can do onboard. Configure your mouse once and you can purge whatever software you've used to do it if you don't like it, without limitations. But hardware quality control with them has long been iffy, and I think since their buyout by Turtle Beach it will only get worse.)