SimConnect_MapInputEventToClientEvent_EX1 not working with joysticks events on SU4 beta

Version: 1.6.25.0

Frequency: Consistently

Severity: High

Marketplace package name:

Context: Simconnect project developed in C++

Bug description:
When choosing a joystick as an input event, the function SimConnect_MapInputEventToClientEvent_EX1 does not transmit event notifications on SU4 beta.

Repro steps:

Using the sample Joystick Input on SU3, which is available on SDK Samples, assign the joystick index to the appropiate number (in my setup, index 2). Input values are read out.

No values are sent out on SU4 beta. Tested with other indexes wihthout success.

Attachments:

Private attachments:

Hello @veroroutes

Documentation us missing an important information.
When using SimConnect_MapInputEventToClientEvent_EX1, the device id to use must be retrieved dynamically with SimConnect_EnumerateControllers.
This will return a list of SIMCONNECT_CONTROLLER_ITEM, with the controller name and device id among other information.

With SU4 and preparation for PS5 release, 4 device id slots are reserved for Playstation peripherals and other joystick/gamepad device are offset.

I’ll make sure the SimConnect sample and Documentation are updated accordingly.

Regards,
Sylvain

1 Like