Tested in: Arduino UNO, MEGA, PRO / Due / Leonardo / Raspberry Pi
1. This is a two-way rocker 10K resistor, with the joystick in a different direction, tap the resistance vary.
2. This module uses a 5V supply, the original state X, Y readout voltage of 2.5V or so.
3. When pressed with the direction of the arrow, the readout voltage values with increasing, up to 5V; press the arrow in the opposite direction, the readout voltage reduction , a minimum of 0V.