Jump to content
The simFlight Network Forums

Need help with Button Command


Recommended Posts

I am trying to set up a compound button for my PMDG 744X and cant get one command to work. I want to program a double switch to cycle through Prev/Next View and also to allow Elev Trim Up/Down

The Elev Trim Up/Down works fine but the view does not cycle. I think I have the right command but am now not 100% sure. My INI file has the following to allow this

21=CR(+1,9)1,5,C65615,0 ; Trim Up, Mode Button = 2

22=CR(+1,9)1,4,C65607,0 ; Trim Down, Mode Button = 2

23=CP(+1,8)1,5,C65827,0 ; Next View, Mode Button = 1

24=CP(+1,8)1,4,C65828,0 ; Prev View, Mode Button = 1

Link to comment
Share on other sites

The Elev Trim Up/Down works fine but the view does not cycle.

I am not sure exactly what you are doing here with the conditions, but the control numbers are correct in relation to your description.

Have you tried using the Button and the Event logging facilities in FSUIPC's logging page to see what results you are getting? Have you tested the controls with a more ordinary assignment first, to make sure they do what you want them to do? FSUIPC merely lists all the FS controls that are tabulated in FS's "CONTROLS.DLL". I don't know what they all do nor if they all work.

One way to find the right controls is to enable Event logging in FSUIPC then use the standard FS keyboard shortcuts to invoke them. You can then look up the control in the Log file. For instance, doing that in FSX I find that the "A" button operates the "NEXT_SUB_VIEW" control whilst Shift+A does "PREV_SUB_VIEW". However, the "S" key uses "VIEW_MODE" and the Shift+S uses "VIEW_MODE_REV". Maybe those are the ones you really wanted?

Now I didn't know this till I just used the keyboard and event logging, so I continued. I programmed a couple of keys to do NEXT_VIEW and PREV_VIEW, and found that what they do is cycle through alternatively opened views -- i.e. the act as a selector when you have multiple (possibly overlapping) views open. So if you haven't opened any extra views they will not do anything.

Again I only found this out using the facilities to hand.

Regards

Pete

Link to comment
Share on other sites

Thanks Pete,

I had not thought about using the logging but it is obvious now you mention it. I checked and the VIEW_MODE and VIEW_MODE_REV are the ones I want and now everything is working fine.

What I am trying to do is use the B1/B2 switch on my Saitek Yoke to allow me to change views when the mode switch is in mode 1 and as I have my throttle quadrant on the left due to desk space, also use it to control the elevator trim in mode 2 so that I can use 1 hand on the yoke and the other on the throttles and still keep the PMDG 744X trimmed properly on the landing.

Link to comment
Share on other sites

I checked and the VIEW_MODE and VIEW_MODE_REV are the ones I want and now everything is working fine.

Good.

What I am trying to do is use the B1/B2 switch on my Saitek Yoke to allow me to change views when the mode switch is in mode 1 and as I have my throttle quadrant on the left due to desk space, also use it to control the elevator trim in mode 2 so that I can use 1 hand on the yoke and the other on the throttles and still keep the PMDG 744X trimmed properly on the landing.

Ah, I see. The Saitek extra switches. Glad you are getting it all sorted! ;-)

Pete

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.