A Rust library providing abstractions over the libretro API.
Many of the abstractions lack documentation right now. PRs are welcome!
The following examples are available:
- input: A simple core that visualizes the input of the first joypad.
- test: A port of libretro-samples/test.
- test-advanced: A port of libretro-samples/test_advanced.
To build and run an example you can use the following commands:
# You might also want to add `--release`
cargo build --example <NAME> --features="unstable-env-commands log"
# adapt according to your target
retroarch -v -L ../target/debug/examples/lib<NAME>.so