RoystonS / BetterBravoLights

Utility for controlling lights on a Honeycomb Bravo Throttle from Microsoft Flight Simulator
MIT License
42 stars 8 forks source link

Improve lvar reporting #16

Closed RoystonS closed 2 years ago

RoystonS commented 2 years ago

Is your feature request related to a problem? Please describe.

If lvars aren't working properly, Better Bravo Lights doesn't report the problem very obviously.

Describe the solution you'd like

BBL should indicate more clearly whether lvars are working, and which lights are affected by an lvar issue.

With the FSUIPC API being used right now, we're simply given the value 0 if FSUIPC isn't installed or configured correctly. This isn't very helpful.

There is another FSUIPCClient API that allows us to get notifications about lvar values changing, and the known list of lvars. This would enable us to discover whether lvars are working properly, and read them more efficiently, and provide a visual list of lvars and their values to help with expression building (see #5).