A simple controller script for a 4-Axis robot arm. By default it will attempt to find and connect to a Gamesir-G3s gamepad in the HID devices list. An alternative device name can be supplied as the first argument, alterantive input devices may reqire different input mappings.
Hardware setup https://www.thingiverse.com/thing:1454048 connected to Arduino running Standard Firmata.