For my cockpit in C++, I use several joysticks (throttles, sticks, pedals, 200 buttons, etc...)
The problem, I don't know how number of joystick is for throttle, for CPT stick, for FO stick etc...
Code: Select all
hr = SimConnect_MapInputEventToClientEvent(hSimConnect, INPUT_XAXIS, "joystick:0:XAxis", EVENT_XAXIS);
So how to identify number of joystick for each correct device?