did you verify that your trackball/spinner are on mouse0?
If not you need to verify by
ls /dev/input to see the inputs
cat /dev/input/mouse0 move the trackball/spinner. If you don’t see text then try mouse1.
cat /dev/input/mouse1
The input map would have to be updated to point to the correct mouse input