Vitus
Resource contributor
- Messages
- 1,480
- Country

Hi folks,
It's been a while. I've been super busy getting the update for my Vega out of the way.
Since the update, some of my customers experienced some issues in combination with FSUIPC and I was wondering if someone here has an idea how to resolve this.
I am overwriting the sims throttle and mixture settings using simConnect, like we discussed a few months ago. I use:
and similar to intercept the throttle and mixture axis from the sim. Furthermore, I set up:
to later overwrite the throttle setting. Similar code exists for the mixture.
The main simConnect callback catches the event:
I use the throttle variable to set my custom throttle lever animation in the modeldef.xml.
After some processing of the throttle variable, I use
To finally set the internal throttle lever of the sim, to manipulate the engine power according to some custom conditions (like spark lever control etc.).
This works like charm. ..... As long as you don't use FSUIPC. Whenever you use the axis calibration this system screws up. What happens is that when you move the joystick's throttle all the way back, beyond FSUIPCs "minimum", my throttle event reads a ridiculously high number, something in the millions range.
Can anyone recommend a method to improve the function for FSUIPC support?
Btw: check out my updated Wing42 Lockheed Vega. She's awesome!
It's been a while. I've been super busy getting the update for my Vega out of the way.
Since the update, some of my customers experienced some issues in combination with FSUIPC and I was wondering if someone here has an idea how to resolve this.
I am overwriting the sims throttle and mixture settings using simConnect, like we discussed a few months ago. I use:
Code:
SimConnect_AddClientEventToNotificationGroup(mySimConnect, GROUP_THROTTLE, EVENT_AXIS_THROTTLE, true);
Code:
SimConnect_AddToDataDefinition(simConnectHandle, DEFINITION_ENGINE_CONTROLS, "GENERAL ENG THROTTLE LEVER POSITION:1", "percent");
The main simConnect callback catches the event:
Code:
case EVENT_AXIS_THROTTLE:
case EVENT_AXIS_THROTTLE1:
throttle = (double)(((*evt).dwData + 16383) * 0.0030519441);
I use the throttle variable to set my custom throttle lever animation in the modeldef.xml.
After some processing of the throttle variable, I use
Code:
SimConnect_SetDataOnSimObject(mySimConnect, DEFINITION_ENGINE_CONTROLS, SIMCONNECT_OBJECT_ID_USER, 0, 0, sizeof(sim_engine_controls), &sim_engine_controls);
To finally set the internal throttle lever of the sim, to manipulate the engine power according to some custom conditions (like spark lever control etc.).
This works like charm. ..... As long as you don't use FSUIPC. Whenever you use the axis calibration this system screws up. What happens is that when you move the joystick's throttle all the way back, beyond FSUIPCs "minimum", my throttle event reads a ridiculously high number, something in the millions range.
Can anyone recommend a method to improve the function for FSUIPC support?
Btw: check out my updated Wing42 Lockheed Vega. She's awesome!





