Fragtality / PilotsDeck

Directly control the FlightSim from your StreamDeck!
Other
93 stars 6 forks source link

Additional calculator code support #58

Closed richardkennedy closed 2 weeks ago

richardkennedy commented 6 months ago

Allow calculator code to be used as a 'Variable' input and on display value buttons.

Fragtality commented 5 months ago

Not possible, the API for the MF Event Module does not return any Value. Externally running Calculator Code is still not possible to my knowledge.

Fragtality commented 5 months ago

I was dumb and completely forgot how the MF Module operates 🤦‍♂️

Looking into it! 🤞

Fragtality commented 5 months ago

Check the latest Installer!

For Reading the Code has to be prefixed with "C:", e.g. C:(L:INI_gpu_avail, Bool) (A:EXTERNAL POWER ON:1, Bool) ! and if{ 1 } els{ 0 }

richardkennedy commented 5 months ago

Perfect, appears to be working as expected 🙌🏻