Missing SimConnect function and structure for Joysticks

I need to read the status of joystick inputs to all connected joystick in MSFS

In Prepar3D we have the structure definition:
SIMCONNECT_RECV_JOYSTICK_DEVICE_INFO

and the function definition:
SimConnect_RequestJoystickDeviceInfo

Is there any alternative ways to read and write joystick inputs in MSFS?