New key events in SDK 0.24.1.0 unrecognized when requested via SimConnect

The following new key events (defined in gauges.h) in SDK 0.24.1.0 are unrecognized when requested via SimConnect:

#define KEY_ROTOR_GOV1_SWITCH_OFF (KEY_ID_MIN + 2032)
#define KEY_ROTOR_GOV1_SWITCH_ON (KEY_ID_MIN + 2033)
#define KEY_ROTOR_GOV1_SWITCH_TOGGLE (KEY_ID_MIN + 2034)
#define KEY_ROTOR_GOV1_SWITCH_SET (KEY_ID_MIN + 2035)
#define KEY_HELI_BEEP1_INCREASE (KEY_ID_MIN + 2036)
#define KEY_HELI_BEEP1_DECREASE (KEY_ID_MIN + 2037)
#define KEY_HELI_BEEP1_SET (KEY_ID_MIN + 2038)
#define KEY_ROTOR_GOV2_SWITCH_OFF (KEY_ID_MIN + 2039)
#define KEY_ROTOR_GOV2_SWITCH_ON (KEY_ID_MIN + 2040)
#define KEY_ROTOR_GOV2_SWITCH_TOGGLE (KEY_ID_MIN + 2041)
#define KEY_ROTOR_GOV2_SWITCH_SET (KEY_ID_MIN + 2042)
#define KEY_HELI_BEEP2_INCREASE (KEY_ID_MIN + 2043)
#define KEY_HELI_BEEP2_DECREASE (KEY_ID_MIN + 2044)
#define KEY_HELI_BEEP2_SET (KEY_ID_MIN + 2045)

I have tried requesting them both with and without the “KEY_” prefix (e.g. both “KEY_ROTOR_GOV1_SWITCH_OFF” and “ROTOR_GOV1_SWITCH_OFF” give an unrecognized error).

Also the following key event added in 0.23.1.0 is also not recognized:

#define KEY_HELI_BEEP_SET (KEY_ID_MIN + 2031)

John

Hello @ImpoliteGem5317

For now, the event strings do not match the define as for other events.

This is something we plan to address for SU15 release.
In the meantime, the names you want to use are documented here:
Helicopter Specific Events (flightsimulator.com)

Regards,
Sylvain

Ok, thanks. I may try those names when I get a chance to switch back to using SU15, but I will probably wait to see what works once released if this is going to change,

Regards,

John

1 Like

The *_GOV_BEEP event names are recognised from this list, but still not the gov switch event names:
ROTOR_GOV_SWITCH_OFF
ROTOR_GOV_SWITCH_ON
ROTOR_GOV_SWITCH_TOGGLE
ROTOR_GOV_SWITCH_SET

John

Hello @ImpoliteGem5317

I just tested sending these events with SimConnect on the Cabri and it worked as expected.
Tested on 1.37.12.0 with SDK 0.24.1.0.

Regards,
Sylvain

Hi @FlyingRaccoon ,

Ah, sorry. I thought I was getting an “unrecognized” error when trying to use these, but I have just checked again and I am getting an error when adding them to a notification group, not when mapping them:

    44469 Exception 29 "DATUM_ID", Ref 4882, Index param 2 on Group 1 AddClientEventToNotificationGroup for "ROTOR_GOV_SWITCH_OFF", id=67568 [0x107F0]
    44469 Exception 29 "DATUM_ID", Ref 4884, Index param 2 on Group 1 AddClientEventToNotificationGroup for "ROTOR_GOV_SWITCH_ON", id=67569 [0x107F1]
    44469 Exception 29 "DATUM_ID", Ref 4886, Index param 2 on Group 1 AddClientEventToNotificationGroup for "ROTOR_GOV_SWITCH_TOGGLE", id=67570 [0x107F2]
    44469 Exception 29 "DATUM_ID", Ref 4888, Index param 2 on Group 1 AddClientEventToNotificationGroup for "ROTOR_GOV_SWITCH_SET", id=67571 [0x107F3]

Do you know why this could be? I request all key events in notification group 1 (for logging purposes) and these are the only ones that give this error.

Regards,

John

Ah, sorry @FlyingRaccoon - please ignore my last comment. This is because they are already added to the notification group - the ROTOR_GOV_SWITCH_ON / _OFF ones were added in 0.20.4.0 and the others are older, since initial release it looks like. It was the GOV1 / GOV2 versions I was after, but these seem to only exist in the gauges.h file.I will just ignore these.

Cheers,

John