I am playing Farming Simulator and wanted to have an additional, remappable controller for controlling cranes, telehandlers, cars or other precision-required tasks.I already had an arduino Esplora, so I decided to make this.
I first used a Keyboard emulation, but that didn't work well and was not precise enough for e.g steering trucks. Then I decided to emulate a Joystick, as the mapping here is decided by the game, and not by the sketch (I'm tired of recompiling and uploading every time I change a button!).
I took the commands from the Page on github and built it.
It has 2 modes:
- "Green mode" - Keys are sent as "number of switch + 11", Joystick is sent as multiple key - one for each direction
- "Red mode" - Keys are sent as the number of the switch directly, Joystick is sent as emulated Joystick (X-Axis, Y-Axis)
The modes are named after the colour of the RGB LED on the esplora,
and changed by pushing the slider to one of the two "areas".
UPDATE V1.1:Changed the handling of the Joystick in green mode (Added a second emulated Joystick with RX and RY Axes) to make it more flexible.
UPDATE V1.4:Skipped many versions beacuse of making and undoing bad changes, this is a stable release after many beta versions, removed the light sensor for performance reasons






Comments