Why is it (seemingly) so hard to find a simple program to convert a physical keyboard into a gamepad input?
This program leverages ViGEmBus to emulate a virtual control, allowing the user to bind Keyboard inputs to the virtual gamepad.
This is a simple program I created for personal use, so it is not production ready or heavily tested.
This program only builds and runs on Windows. Feel free to open a PR with Linux support.
Git clone the repository, then cargo build --release.
Either run cargo run --release or build and run the corresponding release executable file.
If you did not install the ViGEmBus driver, the initial run of the program will fail. Follow the output log's link to ViGEmBus GitHub latest release to install.
During initialization, a config.json file will be created which allows for rebinding keys. This config is hot-reloaded.