ViGEm client in Rust
ViGEm is a Virtual Gamepad Emulation Framework. This crate implements a client for the ViGEmBus Driver. The driver must be installed for this library to have any use.
The client is written 100% in Rust, ViGEm's client C library is not used. Of course it must talk to WinAPI which means it's only available for Windows platforms.
Unlike the competition this library provides an optimized, safe and idiomatic interface.
Usage
This library is available on crates.io and its documentation on docs.rs.
In your Cargo.toml
add:
[dependencies]
vigem-client = "0.1"
Examples
Try this example out: cargo run --example readme
:
use ;
License
Licensed under MIT License, see license.txt.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.