That looks great! I want to get a cheap optical mouse to hack around with and do similar things.
_________________________
MacBook 2GHz Intel Core 2 Duo w/ 2GB DDR2 RAM & 120GB SATA 5400RPM HDD
Canon Rebel XTI
Google Cr-48 Beta Laptop