Pololu forum member Dev255 modified a PTZ dome camera system to be controlled by an old Xbox joystick using a 24-channel Maestro servo controller. The Maestro reads 5 potentiometers on the Xbox joystick, along with some buttons, and correlates the readings to a speed and direction value. This data is converted to the Pelco D protocol that is used by the camera and gets sent to the camera from the Maestro. The LEDs on the joystick are used to indicate the program status. He also uses the Maestro to control a 4×20 character LCD display shown in the video below.
For more information on this project, see Dev255’s original forum post.