Controlling two servos using a PS2 optical mouse with Arduino.
Hardware: got a PS2 female plug, soldered the wires as indicated in this post at arduino playground (http://www.arduino.cc/playground/ComponentLib/Ps2mouse) and pluged a PS2 mouse on it;
Software: used the library from the same post and two global variables to store X and Y absolute positions (since the library returns the relative position from zero).
For those asking for the source code, it’s pretty simple… I’ve made it available here: MousePs2ServoController.pde.
PS: don’t forget to link the library: http://www.arduino.cc/playground/ComponentLib/Ps2mouse