August 19, 20232 yr Hi All, Is there a DREFs that relay the trim button status of a joystick. I have a plugin that runs its own physics engine and I want to know when the user is providing a commanded trim deflection. Preferably the joystick button status i.e. 1=command pitch 0=nothing rather than a trim deflection angle. Any help appreciated. Cheers.
August 19, 20232 yr Author EDIT: I have found "sim/flight_controls/pitch_trim_down" in the joystick configuration however calling this DREF returns nothing
August 19, 20232 yr Like this one? sim/joystick/joystick_button_values Friendly reminder: WHITELIST AVSIM IN YOUR AD-BLOCKER. Especially if you're on a modern CPU that can run a flight simulator well. These web servers aren't free...
August 19, 20232 yr 13 hours ago, bawaters said: EDIT: I have found "sim/flight_controls/pitch_trim_down" in the joystick configuration however calling this DREF returns nothing That's a command (= input), not a dataref (= output). In xlua scripts, commands can be wrapped to provide new functionality, so you can basically intercept any default command and run it through some logic to feed one of your external FM's datarefs. But I'm not sure sure if that's what you want. Edited August 19, 20232 yr by Bjoern 7950X3D + 7900 XT + 64 GB + Linux | 4800H + RTX2060 + 32 GB + Linux My add-ons from my FS9/FSX days
Archived
This topic is now archived and is closed to further replies.