I've wondered about this myself, but haven't experimented with it. What kind of signal does it send out? I'm guessing you get some kind of pulse. It's fairly simple to setup an external interrupt handler (using the attachInterrupt() command) that increments or decrements a counter so you can keep track of pulses. Obviously there has to be a second signal of some sort that helps you figure out which way the mouse wheel is rotating.