This kit makes it easy to mount a PS2-like thumb joystick to your project. The 2-axis joystick contains two independent potentiometers (~10k ohm, one per axis, ) for reporting the joystick's position and a 'press in to select' button. Since it's analog, you'll need two analog reading pins on your microcontroller to determine X and Y. Having an extra digital input will let you read the switch.
Dimensions: 34.3(L) x 26.3(W) x 32.8(H)mm