Skip to the content.

On your computer,
use program Putty and SSH to your PI’s ip address.
login: pi
Password: raspberry (unless updated by you)

Add:
usbhid.mousepoll=0
to cmdline.txt

sudo nano /boot/cmdline.txt
on the same line separated from other stuff by spaces
This parameter enforces a mouse polling rate of ? 62.5Hz ? and reduces any quick movement lag.
0 or 1 - 1000Hz, 2 - 500Hz, 4 - 250Hz, 8 - 125Hz, 16 - 62.5Hz
(Micro-controller is updating mouse as fast as main loop() and any axes interrupt(s) being serviced. avg 40 - 100 µS)

sudo reboot