nguyenquyhy / Flight-Tracker-StreamDeck

A Stream Deck plugin to interact with Microsoft Flight Simulation
https://flightsim.to/file/3178/flight-tracker-streamdeck-plugin
GNU General Public License v3.0
366 stars 67 forks source link

Where can I find the variables for custom toggles / gauges? #285

Closed pilotkid closed 2 years ago

pilotkid commented 2 years ago

Hello, simple question. Where can I find a list of the variables I can input into fields such as toggles and display values?

Kirikou974 commented 2 years ago

Hey you can find them all in the TOGGLE_VALUE.cs enum : https://github.com/nguyenquyhy/Flight-Tracker-StreamDeck/blob/main/FlightStreamDeck.Core/TOGGLE_VALUE.cs

Kirikou974 commented 2 years ago

And TOGGLE_EVENT.cs too : https://github.com/nguyenquyhy/Flight-Tracker-StreamDeck/blob/main/FlightStreamDeck.Core/TOGGLE_EVENT.cs

pilotkid commented 2 years ago

Awesome thank you! Would you mind if I did a PR for documentation?

nguyenquyhy commented 2 years ago

Please feel free to improve our user guide https://github.com/nguyenquyhy/Flight-Tracker-StreamDeck/blob/main/docs/USERGUIDE.md. Or let us know if you have other suggestion.

JuhlWeb commented 2 years ago

Seems like the file TOGGLE_EVENT.cs too has dropped of the great old Internet - can not seem to find it anywhere!! Any clues or pointers would be highly appreciated... ;-)

nguyenquyhy commented 2 years ago

@JuhlWeb I moved it to https://github.com/nguyenquyhy/Flight-Tracker-StreamDeck/blob/main/FlightStreamDeck.Logics/KnownEvents.cs as it is no longer a restriction. From version 0.39, you can use any valid SimConnect event. I'll update the user guide shortly on this.