He’s converted a mouse into a tuning dial. The scroll wheel on a mouse is nothing more than a rotary encoder, and can easily be used as a sort of tuning knob. Replacing it with a better encoder ...
Now suppose your latest self-quarantine project needs a rotary shaft encoder. Not having one ... Of course, an Arduino reads the pulses. We love using things for unintended purposes.