Adjusting DPI on classic intellimouse

I plugged in a microsoft classic intellimouse into my computer. I’m using GNOME, and I ratchet up acceleration to the maximum, but the cursor is still a little slow. I think I should be adjusting the DPI.

I tried these instructions that I found with some googling:

It doesn’t work and I get this error:
Python 3.10.1 (main, Dec 18 2021, 23:53:45) [GCC 11.1.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.

import intellimouse
m = intellimouse.IntelliMouse()
Traceback (most recent call last):
File “”, line 1, in
File “/home/zxde/Downloads/pro-intellimouse-control-panel-master/src/main/python/”, line 40, in init
raise ValueError(“couldn’t find the intellimouse…”)
ValueError: couldn’t find the intellimouse…