Interface SparkFun Trackball?

Has anyone seen an interface to the SparkFun trackball?

http://www.sparkfun.com/commerce/product_info.php?products_id=755

Thanks

Shouldnt be too hard. Its just a bunch of switches.

Yes, but rolling the ball causes short momentary closures.

(Sorry, I'm new here.) Are interupts an option, or would you poll for the switches status?

How would you represent the data? The number of clicks in a particular direction per timeframe would be important.

Thanks

I think i acts more like a rotary encoder (two actually X and Y). It send out a series of pulses ("switch closings").

Maybe the code for reading rotary encoders can be modified for use with this device ?

MikMo