Crates.io | simconnect |
lib.rs | simconnect |
version | 0.3.2 |
source | src |
created_at | 2020-08-26 09:54:33.075282 |
updated_at | 2024-07-11 00:50:46.299182 |
description | Rust bindings for SimConnect |
homepage | |
repository | |
max_upload_size | |
id | 280913 |
size | 199,282 |
x86_64-pc-windows-msvc
, see The rustup book)Add this to your Cargo.toml
[dependencies]
simconnect = "0.3.2"
The SimConnect binaries are included within this repository, but they may not be up-to-date.
cargo build
use simconnect
at the top of your fileRead float position data
cargo run --example aircraft_updates
Requests tagged data with thresholds from SimConnect and reads floats/strings
cargo run --example aircraft_updates_on_change
You must have SimConnect.dll in the same directory as the compiled exe for it to run (e.g. in )
I have not tested every single function from the api. If you find an error, feel free to make an issue or a pull request.