rogerlshaw Posted April 21, 2008 Report Share Posted April 21, 2008 I am trying to get dual function out of my buttons on a CH Throttle Quadrant by using a dual key with the CH Yoke. I have assigned one of the red left buttons on the CH Yoke to be a 'Shift +' which works fine. I originally set the CH Throttle Quadrant Button 2 to toggle Panel 3 (this works fine with either FSX assignments or FSUIPC assignments). I have read the Advanced FSUIPC instructions for Combination Buttons and assigned the Yoke Red Button (Shift) + the CH Throttle Quadrant Button 2 as to toggle Panel 7. This also works BUT it will toggle BOTH Panel 3 and 7. How do I get them to work independently? Here is my code for [buttons] in FSUIPC4.ini: [buttons] 1=R0,14,C65971,0 ; Reverse Thrust Eng1 Throttle1 2=R0,12,C65966,0 ; Reverse Thrust Eng2 Throttle2 3=R1,8,K16,9 ; Top Yoke Red Button as SHIFT 4=R1,9,K17,10 ; Bottom Yoke Red Button as CTRL 5=P0,2,C65908; Throttle Quad Button 2 (FSX-03) for Panel 3 6=CP(+1,8)0,2,C65912,0; Throttle Quad Button 2 (FSX-03) for Panel 7 Any help would be appreciated. Regards, Roger Shaw Lizella, GA Link to comment Share on other sites More sharing options...
Pete Dowson Posted April 21, 2008 Report Share Posted April 21, 2008 This also works BUT it will toggle BOTH Panel 3 and 7. How do I get them to work independently? Here is my code for [buttons] in FSUIPC4.ini: ... 5=P0,2,C65908; Throttle Quad Button 2 (FSX-03) for Panel 3 6=CP(+1,8)0,2,C65912,0; Throttle Quad Button 2 (FSX-03) for Panel 7 You have a condition on the control for Panel 7, but not for Panel 3! You simply need the opposite condition on that: 5=CP(-1,8)0,2,C65908; Throttle Quad Button 2 (FSX-03) for Panel 3 See? "+" for "pressed", "-" for "not pressed". Pete Link to comment Share on other sites More sharing options...
rogerlshaw Posted April 22, 2008 Author Report Share Posted April 22, 2008 Pete: As the IT Mgr for our company and an old computer programmer, your suggestion makes sense. I should have thought of that. I am just trying to teach myself all the code behind FSX and FSUICP4 plus how it all interacts. As small suggestion opens up a world of understanding. Thanks, Roger Link to comment Share on other sites More sharing options...
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