The analog thumb joystick potentiometer
Keep the analog stick centered. Usually these are made from springs or rubber bits, This is a joystick very similar to the 'analog' joysticks on PlayStation 2 controllers. Directional movements are simply two potentiometers - one for each axis. They are ~10k each. This joystick also has a select button that is actuated when the joystick is pressed down.