Hack a mouse

http://frenki.net/2013/12/convert-optical-mouse-into-arduino-web-camera/