Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello,

 

     Trying to program PMDG 737 using an encoder to operate EVT_MCP_HEADING_SELECTOR  in buttons and switch portion of FSUIPC.

 

     Button is recognized 0,0 and I program Control when button pressed as custom control #70022 parameter 536870912, then Control when button released as custom control #70022 parameter 131072. Works fine.

 

     Button is recognized 0,1 and I program Control when button is pressed as custom control #70022 parameter -2147483648( this is where the problem is. It is a negative number and always goes to 0 when it is saved. How do I get it to keep the negative number?)  then Control when button released as custom control #70022 parameter 524288.

 

Thanks in advance,

 

Chris

Posted

parameter -2147483648( this is where the problem is. It is a negative number and always goes to 0 when it is saved. How do I get it to keep the negative number?

 

 

These weird parameter values are just single bits and much more conveniently expressed in hexadecimal. -2147483648 is just x80000000 (you can enter it either way).

 

FSUIPC does actually allow ALL negative numbers up to -2147483648.  There looks to be just a display problem with that one number (which now I've noted I'll fix in due course), but you will find that it is stored in the INI file correctly and should certainly work okay. -- it does here. Just enable Button and Event logging options and see for yourself.

 

Regards

Pete

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.