Joystick buttons in SimConnect_MapInputEventToClientEvent limited to 32

Version: SDK 0.23.1, MSFS 1.35.21.0

Frequency: Consistently

Severity: Blocker

Context: SimConnect client app developed in C++

Bug description:

According to the documentation the functions SimConnect_MapInputEventToClientEvent and SimConnect_MapInputEventToClientEvent_EX1.
take the parameter pszInputDefinition which for joysticks can have the value joystick:0:button:X where X is the button number.

I have a joystick with 39 buttons and all of them can be assigned in MSFS Controls Options without problems.

However, when I supply a value to pszInputDefinition where X is anything greater than 31 I get an EXCEPTION_ERROR. So it seems the SimConnect API only supports a maximum of 32 buttons.

Please make it possible to access buttons above 32 via the API.

Another thread which mentioned the same problem 1,5 years ago: Link

Hello @DuckyThunder240

This has been added to our backlog.

Regards,
Sylvain