GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Sequal32/simconnect-rust: SimConnect bindings for rust.

BranchesTags
Open more actions menu

Latest commit

 

History

39 Commits
39 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
examples
examples
 
 
libsrc
libsrc
 
 
src
src
 
 
.gitignore
.gitignore
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
License.md
License.md
 
 
Readme.md
Readme.md
 
 
SimConnect.dll
SimConnect.dll
 
 
build.rs
build.rs
 
 

Repository files navigation

crates.io

SimConnect Bindings for Rust

Requirements

  • CLang (See the Rust Bindgen Documentation)
  • MSVC x64 Rust build (x86_64-pc-windows-msvc, see The rustup book)

Using

Add this to your Cargo.toml

[dependencies]
simconnect = "0.4"

Building

The SimConnect binaries are included within this repository, but they may not be up-to-date.

  1. run cargo build
  2. Add use simconnect at the top of your file

Example

Read 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 )

Remarks

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.

About

SimConnect bindings for rust.

Topics

flightsimflightsimulatorfsxmsfs2020p3dsimconnect

Resources

Readme
MIT license
Activity

Stars

38 stars

Watchers

4 watching

Forks

15 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.