ark1320 Posted June 13, 2016 Report Posted June 13, 2016 Hi Pete, An FSX addon program called RealTrim simulates the real world process of trimming to relieve elevator yoke pressure and is activated by holding down a yoke button while the yoke is returned to its center position. RealTrim does not work and causes control problems with aircraft that use a non-FSX standard trim system (uniquely coded trim system), so I would like to trap the yoke button that activates RealTrim in a Profile Specific manner (because I often forget when not to use it!). This yoke button is "normally" assigned to the FSUIPC Do Nothing control to insure it is available to RealTrim. So I tried writing a Lua program that just displayed a brief "No RealTrim" message, and Profile Specifically assigned this “dummy display control” to the RealTrim yoke button thinking the button activation would then be trapped by FSUIPC, but no such luck. I also thought the relative order of the FSUIPC and RealTrim entries in the dll.xml file might make a difference, but apparently not. Is there a way to use FSUIPC to trap a yoke button only for specific aircraft? Thanks, Al Boxed FSX, Win7/64, FSUIPC4 ver 4.955
Thomas Richter Posted June 13, 2016 Report Posted June 13, 2016 Hi, yes you can by using Profiles, check the user manual page 17. Thomas
Pete Dowson Posted June 13, 2016 Report Posted June 13, 2016 2 hours ago, ark1320 said: So I tried writing a Lua program that just displayed a brief "No RealTrim" message, and Profile Specifically assigned this “dummy display control” to the RealTrim yoke button thinking the button activation would then be trapped by FSUIPC, but no such luck. I also thought the relative order of the FSUIPC and RealTrim entries in the dll.xml file might make a difference, but apparently not. The joystick interface in Windows, operating on USB connections, is, like all USB provisions -- by nature multi-user. Any number of programs can access and poll the state of any number of USB devices. The only way to make one exclusive is to have a special low-level driver or hooking program which prevents them being passed through. This is why you should never have joystick controllers enabled in FS whilst assigning them in FSUIPC, or vice versa. I'm afraid Thomas's Profile suggestion wouldn't work UNLESS you can make the operation of your Real Trim application only apply in a specific profile -- perhaps on starting it and stopping it when appropriate. Or ask the developer of that program to provide an on/off function which you can operate with another button or keypress, perhaps? Pete
ark1320 Posted June 13, 2016 Author Report Posted June 13, 2016 Thanks -- I understand now why my Profile Specific approach outlined above didn't work. Al
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now