Lustre input bindings for Recurse Center's RCade arcade cabinet
| src/rcade | Hello World | |
| test | Hello World | |
| .gitignore | Hello World | |
| gleam.toml | fix: Remove outdated package configuration | |
| LICENSE | Hello World | |
| manifest.toml | Hello World | |
| README.md | Ugh forgot outdated package name | |
rcade_inputs
Lustre input bindings for Recurse Center's RCade arcade cabinet. Covers joysticks/buttons and spinners, for both players.
Installation
gleam add rcade
bun add @rcade/plugin-input-classic @rcade/plugin-input-spinners
Usage
Poll all inputs on an interval:
inputs.poll(every:50,with:Inputs)Subscribe to discrete button presses:
inputs.on_press(with:ButtonPressed)