Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi Pete,

Under the general FSUIPC.ini section I have the Saitek hat switch defined as below using conditional button programming. When conditional on button 8 (position1 of the Saitek Mode Switch), the Hatswitch brings up pop-up panels. When conditional on button 10 (position 3 of the Saitek Mode Switch), the Hatswitch is used for view panning.

 

[buttons]

…..

!399=Hat Switch

!400=Yoke 1 - Mode Switch 1 (sw 8 ) - PopUp view function

401=CP(+Y,8)Y,32,C65908,0 ;     PopUp 3 = <Shift>3 (usually the GPS) Hat switch UP

402=CP(+Y,8)Y,36,K35,8 ;         Kneeboard = Hat SW DOWN

403=CP(+Y,8)Y,38,C65907,0 ;     PopUp 2 = <Shift>2 (usually the radio stack) Hat SW LEFT

404=CP(+Y,8)Y,34,C65906,0 ;    PopUp 1 = <Shift>1 (usually 2D cockpit panel) Hat SW RIGHT

!409=Yoke 1 - Mode Switch 2 (sw 9) - More PopUp view functions

410=CP(+Y,9)Y,32,C65912,0 ;     PopUp 7 = <Shift>7 (Radar?)Hat switch UP

411=CP(+Y,9)Y,38,C65911,0 ;     PopUp 6 = <Shift>6 Hat switch LEFT

412=CP(+Y,9)Y,36,C65909,0 ;    PopUp 4 = <Shift>1 (FMC panel in 737 % 747) Hat SW DOWN

413=CP(+Y,9)Y,34,C65910,0 ;     PopUp 5 = <Shift>5 Hat switch RIGHT

!429=Yoke 1 - Mode Switch 3 (sw 10) - Pan view function

430=CR(+Y,10)Y,32,C65734,0 ;           Hat Switch - PAN_UP

431=CU(+Y,10)Y,32,C66416,-1 ;         Hat Switch - PAN_VIEW -1

432=CR(+Y,10)Y,33,C65856,0 ;           Hat Switch - PAN_RIGHT_UP

433=CU(+Y,10)Y,33,C66416,-1 ;         Hat Switch - PAN_VIEW -1

434=CR(+Y,10)Y,34,C65672,0 ;           Hat Switch - PAN_RIGHT

435=CU(+Y,10)Y,34,C66416,-1 ;         Hat Switch - PAN_VIEW -1

436=CR(+Y,10)Y,35,C65857,0 ;           Hat Switch - PAN_RIGHT_DOWN

437=CU(+Y,10)Y,35,C66416,-1 ;         Hat Switch - PAN_VIEW -1

438=CR(+Y,10)Y,36,C65735,0 ;           Hat Switch - PAN_DOWN

439=CU(+Y,10)Y,36,C66416,-1 ;         Hat Switch - PAN_VIEW -1

440=CR(+Y,10)Y,37,C65855,0 ;           Hat Switch - PAN_LEFT_DOWN

441=CU(+Y,10)Y,37,C66416,-1 ;         Hat Switch - PAN_VIEW -1

442=CR(+Y,10)Y,38,C65671,0 ;           Hat Switch - PAN_LEFT

443=CU(+Y,10)Y,38,C66416,-1 ;         Hat Switch - PAN_VIEW -1

444=CR(+Y,10)Y,39,C65854,0 ;           Hat Switch - PAN_LEFT_UP

445=CU(+Y,10)Y,39,C66416,-1 ;         Hat Switch - PAN_VIEW -1

 

After I defined a new Learjet35A profile  I redefine the above blue highlighted pop-up hat switch Left and Right positions, which are conditional on button 8, for the new profile as shown below. These new definitions work as expected, but I was surprised to find that I could no longer pan Left and Right in the new profile even though panning is conditional on button 10, not button 8. All the other Hatswitch pan positions work in the new profile, but nothing happened at all with the Left and Right positions of the Hatswitch.  This Learjet35  profile was based on an existing Regional Jet profile, but the Regional Jet profile has no Hatswitch button definitions .

 

To fix the panning problem in the new Lear35A profile I had to copy the 4 red button statements from the general button area into the new profile. Is that the way it should work with conditional button definitions with respect to a new profile?

 

Thx,

Al

FSUIPC4.949k, FSX Deluxe/SP1/SP2, Win7/64.

 

 

[buttons.Learjet35A]

27=PY,14,C65853,0 ; spoilers arming toggle (top of rocker sw below throttle axis)

8=PY,15,C65589,0 ; spoilers fully deployed toggle (bottom of rocker sw below thro

29=PY,18,C65580,0

30=PY,19,C65859,0

31=CR(+Y,9)Y,7,C66277,0 ;aileron trim right w/horizontal yoke btn, w/mode sw =2

32=CR(+Y,9)Y,6,C66276,0 ;aileron trim left w/horizontal yoke btn, w/mode sw =2

33=CR(+Y,8)Y,7,C66279,0 ;rudder trim right w/horiz yoke btn, w/mode sw =1

34=CR(+Y,8)Y,6,C66278,0 ;rudder trim left w/horiz yoke btn, w/mode sw =1

35=PY,16,K70,10

36=RY,20,K113,8

37=UY,20,K112,8

38=PY,17,C65793,0

39=CP(+Y,8)Y,38,C65906,0 ;    PopUp 1 = <Shift>1 Lear35 Hanger Hat SW LEFT

40=CP(+Y,8)Y,34,C65907,0 ;    PopUp 2 = <Shift>2  Lear35 Options Hat SW RIGHT

41=PY,14,CL17:R,0 ;Lear35 Reversers arming switches

 

Posted

After I defined a new Learjet35A profile  I redefine the above blue highlighted pop-up hat switch Left and Right positions, which are conditional on button 8, for the new profile as shown below. These new definitions work as expected, but I was surprised to find that I could no longer pan Left and Right in the new profile even though panning is conditional on button 10, not button 8. All the other Hatswitch pan positions work in the new profile, but nothing happened at all with the Left and Right positions of the Hatswitch.  This Learjet35  profile was based on an existing Regional Jet profile, but the Regional Jet profile has no Hatswitch button definitions .

 

To fix the panning problem in the new Lear35A profile I had to copy the 4 red button statements from the general button area into the new profile. Is that the way it should work with conditional button definitions with respect to a new profile?

 

It isn't related to the conditions at all. If a button is programmed for use in the overriding Profile assignments then any programming for the same button is ignored in the generic assignments.

 

To not do so would tend to cause more confusion that less in my opinion.

 

What is stopping your generic RED assignments working in the Profile is the assignment of Y34 and Y38 in that Profile. The conditions aren't relevant to this.

 

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.