[John Crombie] had a crack at building one using linear Hall effect sensors and magnets as the ... [John] utilises the Arduino pro micro for its copious analog inputs and USB functionality.
Instead, he used hall effect sensors and a square magnet for each ... All the electronic components are wired to an Arduino Micro, and thanks to a joystick library, the code is very simple.