3 releases
0.1.2 | Apr 4, 2021 |
---|---|
0.1.1 | Apr 4, 2021 |
0.1.0 | Apr 4, 2021 |
#2233 in Game dev
23 downloads per month
18KB
423 lines
gamesense
SteelSeries GameSense™ client written in Rust
lib.rs
:
SteelSeries GameSense™ client written in Rust
To use this crate, simply add it as a dependency:
[dependency]
gamesense = "0.1.2"
To get started, simply instantiate your client using the gamesense::client::GameSenseClient
struct.
let mut client = GameSenseClient::new("GAME_ID", "Game Display Name", "Author", None)?;
In this example, a client is created to the local API and it automatically creates a game with the provided values. Each value
deemed optional by the official documentation can receive None
as a value to default it to the server's default.
If you wish to have a raw client for the API, you can! Simply use the gamesense::raw_client::RawGameSenseClient
For more (in-depth) examples refer to the examples
For information regarding the API see the original API documentation
Dependencies
~4–16MB
~219K SLoC