#input #automation #game #config-file #command-line-tool #cli

app co2key

CLI tool to map game controller input to simulated key presses

2 unstable releases

0.3.0 Aug 5, 2024
0.2.0 Aug 3, 2024

#2397 in Command line utilities

MIT/Apache

9KB
160 lines

co2key

CLI tool to map game controller input to simulated key presses.

Usage

First define a config file, you can use the commited json files as an example.

cargo run -- your_config.json

Optionally use one or two verbose flags to print controller events and simulated key presses.

cargo run -- your_config.json -v

macOS

On macOS you need to enable the following setting: Settings > Privacy and Security > Accessability > (enable for your Terminal after the prompt)

Dependencies

~2.4–5.5MB
~104K SLoC