No description
| .github | ||
| images | ||
| gamepad.c | ||
| gamepad.service | ||
| Makefile | ||
| README.md | ||
| setup.sh | ||
Analog/Digital Gamepad on the Raspberry Pi
The driver got a full rewrite to move from using Python to using C.
With this code, you can create a full gamepad using two I2C modules. The ADS1015 handles analog input for the joystick, and the MCP23017 handles digital input for up to 16 buttons.
Installation is done by copying setup.sh, gamepad.c, Makefile, and gamepad.service to a folder on your Raspberry Pi (or other linux device) and running sudo bash setup.sh. The driver will compile and I2C will get configured, and then the script will ask whether you want to load the driver at startup.

