Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Oh, yes! Now I saw changes!

 

 

51013 Button changed: bRef=0, Joy=1 (Y), Btn=18, Pressed
51013 [buttons.Learjet 45 FP] 3=PY,18,C65759,0
51013 [DNSCAN] J0.1, B18, bRes=2, Flags=X01, Value=65759[0x100DF], Param=0[0x0], TimeNow=122601, TimeLast=110682
51013 FS Control Sent: Ctrl=65759, Param=0
51028 Monitor IPC:03C4 (U32) = 0x40000
59889 Button changed: bRef=0, Joy=1 (Y), Btn=18, Released
59905 Monitor IPC:03C4 (U32) = 0x0
63321 Memory in use: 1159Mb, Avail=2937Mb
68220 Button changed: bRef=0, Joy=2 (G), Btn=23, Pressed
68220 [buttons.Learjet 45 FP] 25=PG,23,C66059,0
68220 [DNSCAN] J0.2, B23, bRes=2, Flags=X01, Value=66059[0x1020B], Param=0[0x0], TimeNow=139808, TimeLast=122601
68220 FS Control Sent: Ctrl=66059, Param=0
68220 Monitor IPC:03C8 (U32) = 0x800000
77361 Button changed: bRef=0, Joy=2 (G), Btn=23, Released
77361 [buttons.Learjet 45 FP] 56=UG,23,C66060,0
77361 [uPSCAN:] J0.2, B23, bRes=1, Flags=X03, Value=66060[0x1020C], Param=0[0x0], TimeNow=148949, TimeLast=139808
77361 FS Control Sent: Ctrl=66060, Param=0
77361 Monitor IPC:03C8 (U32) = 0x0
89405 Ready Flags: Ready-To-Fly=Y, In Menu=Y, In Dlg=Y
89405 Sim stopped: average frame rate for last 52 secs = 28.9 fps
95957 System time = 02/11/2013 00:54:46, Simulator time = 00:54:05 (18:54Z)
95957 *** FSUIPC log file being closed

Posted

Oh, yes! Now I saw changes!

 

Good!

 

There was a silly typo in the code which appears to do this:

 

Joysticks 0-3 all wrote to 03C0.

Joysticks 4-7 all wrote to 03C4

Joysticks 8-11 all wrote to 03C8

Joysticks 12-15 all wrote to 03CC

 

What was misleading, and took me a while to understand, was that all scanned joysticks are scanned in one loop, so the last one only in each group of 4 gets its buttons recorded. This made your  Joy #2 visible, incorrectly, in 03C0, overwriting any button indications from #0 and #1.

 

It also applied to FSUIPC3 and has been broken in both versions since April 2011. Seems no one ever used it till now!

 

I'll upload the fixed modules to the Download Links subforum now. Thanks for testing!

 

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.