This creates a keyboard, from a rp2040, where one single pin is shorted to ground upon keypress.
You will need the cross compilation toolchain:
rustup target install thumbv6m-none-eabistack overflow protection:
cargo install flip-linkand (a) either Picotool (default) for generating uf2 files, or flashing over USB (without debugging), or (b) probe-rs for flashing and debugging via debug probe.
Update the config in source code: src/main.rs: Lines 30 to 34. You can set which pin to use, and which keycode to emit.
By default this package is configured to build a uf2 file. Change the build command in .cargo/config.toml
cargo run [--release] <output-file.uf2>