Gamepad input library in Rust.
Add the dependency as:
toml
[dependencies]
gamepads = "0.1.1"
See the crate documentation and the hello-gamepads example for documentation and sample code.
wasm-bindgen
, allowing it to be used as a macroquad
pluginwasm-bindgen
by activating the features = ["wasm-bindgen"]
For non-web targets, nothing special needs to be done to use this library with macroquad.
For a web build to work properly, a small javascript plug-in needs to be registered in the page embedding the built wasm file:
```html
```
See the hello-gamepads example.
Please report any issues found or discuss questions and ideas!