This repository contains code for an Arduino to send input to a computer. Currently the controller code gets input from three buttons and presses and releases keys according to the provided key mapping (example_keys.json by default).
Steps to use this software:
- Connect a compatible Arduino to the computer via a USB cable (I use Arduino Mega 2560).
- Upload controller/controller.ino to the Arduino.
- Obtain the port the Arduino is connected on, e.g. COM3 on Windows.
- Launch the main python script (use
python main.py --help
for more information)