Joystick Arduino
This little joystick is often used as a game controller. It contains an X-axis, Y-axis and a push-switch. If you define the connections as North, then the North reads Y=0 while the South reads Y=1023. In the same manner East reads X=0 while West reads X=1023. The switch reads a 1 unless it is pushed. While it is pushed it reads 0.