Archived

This topic is now archived and is closed to further replies.

mounty

737NGX OFFSETS FOR REVERSE THRUST.

Recommended Posts

Hi,

 

I am having trouble with assigning offsets for reverse thrust using FSUIPC.  I enter the custome control number (70312 for #1 and 70313 for # 2) and have tried using the 0 and 1 to set the parameter but it doesn't have any effect on the 737 thrust reversers - no movement.  Any ideas where I may be going wrong?

 

Many Thanks

 

Rob

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

This is how I set up the reverse button on my Saitek throttle:

 

02eg.jpg

 

The Parameter of 20000000 is the value for a left mouse click.

Share this post


Link to post
Share on other sites

Thanks LRW, works fine now.  Didn't know it was 20000000 for a button press - will remember for future offsets.

 

Rob

Share this post


Link to post
Share on other sites

One odd thing about the 20000000 value I gave you.  It's actually supposed to be the hex value x20000000.  From the PMDG_NGX_SDK.h:

 

#define MOUSE_FLAG_LEFTSINGLE    0x20000000

 

which is the same as a decimal value of 536870912.  I forgot to include the 'x' prefix in FSUIPC (not '0x' because FSUIPC will only store the '0'), which means that it's sending a decimal 20000000, but it still works.  With logging turned on in FSUIPC I can see it sending two different values depending on whether I include the 'x' or not, but I get reverse thrust either way.

 

   203831 Button changed: bRef=0, Joy=2, Btn=7, Pressed
   203831 [buttons.Boeing 737-7K2NGX KLM Royal Dutch Airlines Winglets] 14=R2,7,C70312,536870912
   203831 Repeating flag set: bRef=0, Joy=2, Btn=7 (RepeatDelayCtr=1)
   203831 FS Control Sent: Ctrl=70312, Param=536870912
   
   695921 Button changed: bRef=0, Joy=2, Btn=7, Pressed
   695921 [buttons.Boeing 737-7K2NGX KLM Royal Dutch Airlines Winglets] 14=R2,7,C70312,20000000
   695921 Repeating flag set: bRef=0, Joy=2, Btn=7 (RepeatDelayCtr=1)
   695921 FS Control Sent: Ctrl=70312, Param=20000000
 
The mouse flags in the header file appear to be standard mask values and it looks to me like the decimal 20000000 should not work because it does not include the bit that is set by the correct x20000000.  Maybe someone more knowledgeable with FSUIPC or the SDK can explain it.

Share this post


Link to post
Share on other sites