How would a trim wheel work in the same direction as trim up/down?

I have an aircraft where I’m not programming the elevator trim, but I’m happy for the pilot to use keystrokes or a trim axis to control the elevator trim and have MSFS apply that trim input to the flight model.

The odd situation is the trim axis input is REVERSED compared to the TRIM UP and TRIM DOWN control inputs. As far as I can tell this is nothing to do with my aircraft at all.

There’s lots of forum posts of Asobo breaking the elevator trim in SU5 but there is absolutely no documentation or any reference I can find that suggests how an aircraft developer can fix it.

I strongly suspect the only answer will be “add some Asobo template to your model XML” otherwise the trim axis and the trim up/down control inputs will work in opposite directions. If that’s the case can anyone just provide the logic that the template uses to flip the trim wheel control input ?

Please note asking users to create a controls profile with the trim axis reversed just for my plane is not the solution I’m looking for. I’d like to add code or config settings to my plane so the trim up/down and trim wheel work in the same direction, and this is NOTHING to do with any animations.

Any clues would be greatly appreciated.

I’ll answer my own question, this probably isn’t the ideal place for the question in the first place, but…

The solution is to add a fragment of code to the model XML calling an Asobo template that reverses the affect of the ELEVATOR TRIM AXIS INPUT. This turns out to be the shrapnel from a change made by Asobo in Sim Update 5 which affected ALL aircraft, but was fixed only for the Asobo planes by their use of their own templates which in effect reverses the reverse they made to the sim.

Here’s the minimal entry you need in model XML to fix the ELEVATOR TRIM AXIS INPUT:

		<Component ID="REVERSE_TRIM_FIX" Node="DUMMY">
			<UseTemplate Name="ASOBO_HANDLING_Wheel_ElevatorTrim_Template">
			</UseTemplate>
		</Component>

Note this is unrelated to any animation or model elements you may have, this is purely to reverse back the reversing of the ELEVATOR TRIM AXIS control. I think Asobo got confused when they were adding new input support to their template programming language, had a bug where the elevator trim was working in reverse, fixed that by reversing the reading of the axis by the sim and so messed up every 3rd-party plane including my gliders.