bami
The basic amethyst input library. Offers simple utility for input with the amethyst
crate.
Controller support can be added through the gilrs
feature.
This crate is a work in progress, some controller bindings may not yet be supported.
Setup :
use BamiBundle;
let game_data = default
...
.with_bundle?
// ^------ Add this bundle AFTER the `InputBundle`
// Feel free to replace `StringBindings` with a custom type
...
Usage :
Feel free to replace StringBindings
with a custom type in your code!
use ;
// Inside a system
type SystemData = ;
Run tests:
cargo test --features amethyst/empty