Version: SU4 (Sunrise 12.2, build 282174.999) SDK 1.5.4
Frequency: Consistently
Severity: Low (I guess)
Context: C/C++ SimConnect app
Bug description:
When mapping Client Events to SimEvents, the “FLAPS_1", “FLAPS_2", and “FLAPS_3" Events are accepted, but “FLAPS_4" is rejected.
Connected to MSFS 2020!
[Press the Escape key to exit the program]
[Mapped event 'FLAPS_SET' with SendID: 7]
[Added event 'FLAPS_SET' to notification group with SendID: 8]
[Mapped event 'FLAPS_INCR' with SendID: 9]
[Added event 'FLAPS_INCR' to notification group with SendID: 10]
[Mapped event 'FLAPS_DECR' with SendID: 11]
[Added event 'FLAPS_DECR' to notification group with SendID: 12]
[Mapped event 'FLAPS_UP' with SendID: 13]
[Added event 'FLAPS_UP' to notification group with SendID: 14]
[Mapped event 'FLAPS_DOWN' with SendID: 15]
[Added event 'FLAPS_DOWN' to notification group with SendID: 16]
[Mapped event 'AXIS_FLAPS_SET' with SendID: 17]
[Added event 'AXIS_FLAPS_SET' to notification group with SendID: 18]
[Mapped event 'FLAPS_1' with SendID: 19]
[Added event 'FLAPS_1' to notification group with SendID: 20]
[Mapped event 'FLAPS_2' with SendID: 21]
[Added event 'FLAPS_2' to notification group with SendID: 22]
[Mapped event 'FLAPS_3' with SendID: 23]
[Added event 'FLAPS_3' to notification group with SendID: 24]
[Mapped event 'FLAPS_4' with SendID: 25]
[Added event 'FLAPS_4' to notification group with SendID: 26]
[Mapped event 'FLAPS_CONTINUOUS_SET' with SendID: 27]
[Added event 'FLAPS_CONTINUOUS_SET' to notification group with SendID: 28]
[Mapped event 'FLAPS_CONTINUOUS_INCR' with SendID: 29]
[Added event 'FLAPS_CONTINUOUS_INCR' to notification group with SendID: 30]
[Mapped event 'FLAPS_CONTINUOUS_DECR' with SendID: 31]
[Added event 'FLAPS_CONTINUOUS_DECR' to notification group with SendID: 32]
[Handling messages until stopped]
[Connected to 'SunRise' version 12.2 (build 282174.999) using SimConnect version 12.2 (build 0.0)]
Received an exception type 7:
- Related to a message with SendID 25.
- Regarding parameter 2.
The parameter is not a recognized name.
Received an exception type 3:
- Related to a message with SendID 26.
- Regarding parameter 2.
The parameter is not a recognized ID.
[Exit event received, shutting down]
[Disconnecting from the simulator.]
[Closing event handle.]
Now these “FLAPS_x” events are probably aimed at an Airbus-standard cockpit, But the Inibuilds Airbus doesn’t use them, so probably nobody ever noticed?
Note that, even though it reacts to FLAPS_INCR and FLAPS_DECR, the DA62 does not generate any events when you use the UI to set the flaps. The Twin Otter and A320neo actually do generate FLAPS_SET events with values to reflect the graphical representation of what you’re doing, but you’ll probably have to get the SimVar to find out what the result really was.
Repro steps:
See GitHub - Dutch-FlightSim-Developer/developing-with-simconnect: The sources going with the "Developing with SimConnect" series. , example 8-1.
Attachments:
Private attachments: N/A