- Messages
- 11
- Country

Hi everyone - while I can get events to work perfectly fine, I'm struggling to get any of the View / Camera Events, such as AXIS_PAN_PITCH, to work with SimConnect. I've stumbled upon a couple of posts mentioning that the camera API isn't supported, yet I'm puzzled that it's still fully documented in the SDK documentation...unless, I missed something obvious.
The HRESULT returns "S_OK", but the event has no effect in the sim at all.
Is there any official word on whether these events are being supported, or am I doing it just wrong?
Happy New Year!
The HRESULT returns "S_OK", but the event has no effect in the sim at all.
C++:
enum EVENT_ID {
KEY_AXIS_PAN_PITCH = 0x00100000
};
...
hr = SimConnect_MapClientEventToSimEvent(hSimConnect, KEY_AXIS_PAN_PITCH, "AXIS_PAN_PITCH");
...
double camX = 5.0;
hr = SimConnect_TransmitClientEvent(hSimConnect, SIMCONNECT_OBJECT_ID_USER, KEY_AXIS_PAN_PITCH, (DWORD)camX, SIMCONNECT_GROUP_PRIORITY_HIGHEST, SIMCONNECT_EVENT_FLAG_GROUPID_IS_PRIORITY);
...
Is there any official word on whether these events are being supported, or am I doing it just wrong?
Happy New Year!
Last edited: