I have been exploring the events with the DA62 aircraft. Several of the events are toggle type events (controls).
I was to understand that that toggle events have no parameters. However there are parameters displayed. One or two questions.
1. In the Event Log Entry - one of the kex values is the parameter. What is the other hex value?
2. If a toggle event has no parameter, do you know why one is shown in the entries?
3. If there are 2 indices in an event, is the param one of the indices and can Lua show both indices?
Engine Master Left On
1862188 *** EVENT: Cntrl= 67063 (0x000105f7), Param= 0 (0x00000000) ENGINE_MASTER_1_TOGGLE
1862204 *** EVENT: Cntrl= 67073 (0x00010601), Param= 9 (0x00000009) ELECTRICAL_BUS_TO_BUS_CONNECTION_TOGGLE
1862204 *** EVENT: Cntrl= 67073 (0x00010601), Param= 5 (0x00000005) ELECTRICAL_BUS_TO_BUS_CONNECTION_TOGGLE
1862204 *** EVENT: Cntrl= 67073 (0x00010601), Param= 7 (0x00000007) ELECTRICAL_BUS_TO_BUS_CONNECTION_TOGGLE
1862204 *** EVENT: Cntrl= 66241 (0x000102c1), Param= 2 (0x00000002) TOGGLE_MASTER_BATTERY
1862204 *** EVENT: Cntrl= 67073 (0x00010601), Param= 6 (0x00000006) ELECTRICAL_BUS_TO_BUS_CONNECTION_TOGGLE
ELECTRICAL_BUS_TO_BUS_CONNECTION_TOGGLE
[0]: Source bus index
[1]: bus index
Toggle bus connection state with a bus. Takes two indices, the initial bus and the second bus (see SimVars And Keys for more information). The bus index is the N index of the bus.N definition in both cases.