Jump to content
The simFlight Network Forums
pat1015

Macro FLT_ALT for 737 Pmdg P3dv3

Recommended Posts

Hi Pete, I have a problem with the macros for the 737 Pmdg, I've read many posts about it here, where you say, rightly abandon macros and use variables available in SDK pmdg, i did it for everything but i can not to go FLT_ALT pressurization the variable Pmdg is 69850 i put in fsuipc in custom control so it works but only incremental, i do not have a variable to decrement, with the same value i should be able to inc / dec, with the macro being all easy with one of the latest Pmdg updates does not work anymore, and I do not even get the green bar upstairs to register the macros. How can I solve the pressurization Dec?
Tks Pete
Enrico Bonomi
 
 
 

Share this post


Link to post
Share on other sites
1 hour ago, pat1015 said:

use variables available in SDK pmdg, i did it for everything but i can not to go FLT_ALT pressurization the variable Pmdg is 69850 i put in fsuipc in custom control so it works but only incremental, i do not have a variable to decrement, with the same value i should be able to inc / dec, with the macro being all easy with one of the latest Pmdg updates does not work anymore, and I do not even get the green bar upstairs to register the macros. How can I solve the pressurization Dec?

By "variable" I take it you mean "control", as otherwise the above makes no sense.

I do not use or have PMDG aircraft, so I can't really help specifically, but I'm pretty sure that there's only one PMDG control for each function. You use the parameter to it to tell it what it is you want to do. I think it emulates what the mouse would do. With PMDG dials, don't you get a little mouse cursor indicating turning, and you then use the left button for decrement and right for increment? 

The controls are similar. I would have thought you'd already encountered this for things like MCP speed, altitude, V/S etc.

The parameters are not simple 0's and 1's. I think that .h file has a list of values equating to different mouse actions. Take a look.

Pete

 

Share this post


Link to post
Share on other sites

Use the wheel-up and wheel-down values. In a lua script like so:

ipc.control(EVT_OH_PRESS_FLT_ALT_KNOB, MOUSE_FLAG_WHEEL_UP)

Emile van Gerwen.

Share this post


Link to post
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

×

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.