Bad idea:
You know how some programmable keyboards have a thing where you can press a secret key combination and they'll type some config menu into a text document?
Do the same, but for a mouse.
You just open MS Paint and select the pen tool, then press all the buttons at once.
It'll draw you its config