Does anyone know of a means to undo a MapClientEventToSimEvent, so that the same Enum can then be remapped to a different Sim Event ?
MapClientEventToSimEvent(EVENTS.ReusableID, "PITOT_HEAT_TOGGLE")
transmit event....
Unmap
and later on
MapClientEventToSimEvent(EVENTS.ReusableID, "a different event")
transmit event.... etc
Events are read from a file of variable length, so rather than guessing what max number of events would be and setting up a big Enum, it would be far nicer to have a single one that gets remapped as necessary.
Sending a second MapClientEventToSimEvent generates an exception, as does sending a "", Nothing, 0 etc in an attempt to clear it.
Any help appreciated.
MapClientEventToSimEvent(EVENTS.ReusableID, "PITOT_HEAT_TOGGLE")
transmit event....
Unmap
and later on
MapClientEventToSimEvent(EVENTS.ReusableID, "a different event")
transmit event.... etc
Events are read from a file of variable length, so rather than guessing what max number of events would be and setting up a big Enum, it would be far nicer to have a single one that gets remapped as necessary.
Sending a second MapClientEventToSimEvent generates an exception, as does sending a "", Nothing, 0 etc in an attempt to clear it.
Any help appreciated.


