- I have installed the mobilflight module-events in community folder for G1000 controls.
- I do have access with success to all events like MobiFlight.AS1000_MFD_SOFTKEYS_1 via FSUIPC interface. Nice.
- BUT, I just can’t figure to fire these events in my custom code via SDK (C#).
Any cole like
sim.MapClientEventToSimEvent(EVENTS.AS1000_MFD_SOFTKEYS_1, “MobiFlight.AS1000_MFD_SOFTKEYS_1”);
sim.TransmitClientEvent(SimConnect.SIMCONNECT_OBJECT_ID_USER, EVENTS.AS1000_MFD_SOFTKEYS_1, 0, GROUP.ID_PRIORITY_STANDARD, SIMCONNECT_EVENT_FLAG.GROUPID_IS_PRIORITY);
Does not work.
It does work with “classic” events like AP_MASTER, so code is good but I just can’t reach theses events.
May I state I just do not know anything about wasm, just C# knowledge, I suppose I’m missing something to reach theses events like FSUIPC do, or even maybe it is not possible via C# and Simconnect ?
Also on a side note, I made for test purpose an alternate app working with FsuipClient C# Dll library (so not connected via Simconnect), I did not manage to reach thoses MobiFlight events via code, anyone has an idea ?
Something like
FSUIPCConnection.WriteLVar(“AS1000_MFD_FPL_Push”, 0);