Jump to content
The simFlight Network Forums

Assign button action for axis range


Carliolian

Recommended Posts

Good afternoon Petr & John

Does the "Set up to 10 ranges for action" for button controls work in FSUIPC7 ?

I am trying to set up the flaps in the CRJ 700. Using an axis, the flaps jump from F20 to F45 missing F30.

I have tried with the following setting. But it does not work. Am I doing something wrong?

2=AZ,256
3=AZ,B,-16384,-14139,65698,0    -{ Entering=FLAPS_SET }-
4=AZ,B,-11735,-7887,65698,1    -{ Entering=FLAPS_SET }-
5=AZ,B,-3719,-513,65698,2    -{ Entering=FLAPS_SET }-
6=AZ,B,4104,7214,65698,3    -{ Entering=FLAPS_SET }-
7=AZ,B,12792,15518,65698,4    -{ Entering=FLAPS_SET }-
8=AZ,B,14492,16383,65698,5    -{ Entering=FLAPS_SET }-

Frank Darbyshire

Link to comment
Share on other sites

26 minutes ago, Carliolian said:

7=AZ,B,12792,15518,65698,4    -{ Entering=FLAPS_SET }-
8=AZ,B,14492,16383,65698,5    -{ Entering=FLAPS_SET }-

The zones you have set are overlapping for the Flaps Set 4 & 5 controls.

However, if using an axis for the flaps, why are you doing this via ranges? Just assign your axis to the FS control Axis Flap Set. No need to calibrate, unless the axis needs reversiong.

John

Link to comment
Share on other sites

Good Morning John

Corrected the nonlinearity. No change.

AS CRJ 700 in MSFS 2020 using Honeycomb Bravo

Setting Flaps axis 0-100 does not work  

Setting Flaps axis -100-0-100 works but skips F30 as does FSUIPC 

After some more testing/hunting I found your new method in the FSUIPC7 user guide which now works.

I now have

FlapsSetControl=0
FlapDetents=Yes
FlapStarts=-16384,-11703,-6284,-3944,1154,12472
FlapEnds=-10933,-9266,-4361,-770,2533,16384

Thnk you for your help.

Frank Darbyshire

Link to comment
Share on other sites

2 hours ago, Carliolian said:

AS CRJ 700 in MSFS 2020 using Honeycomb Bravo

Ah, so you are using one of the bravo axes, not the flaps button itself. I'm surprised that setting to use Axis Flaps Set doesn't work though - didn't try on the Bravo, just on a spare axis on a device connected to my development machine. I may try this on the Bravo to see what is happening - it should work!

On the Bravo, you can also configure the flaps "lever", which operates on buttons, not an axis.
It is usually to assign this to the Flaps Incr/Decr controls, but that won't work for the CRJ - that only moves flaps in and out of the first position.

To control the flaps in the CRJ-700 with increments/decrements, you can use the lvar ASCRJ_FLAPS_SET, which can take values 0-5.
You can add the lvar to an offset, and then use the bravo flaps lever to increment/decrement the lvar offset value (between the 0 and 5 limits), which will update the lvar and change the flap setting.

John

Link to comment
Share on other sites

45 minutes ago, John Dowson said:

I'm surprised that setting to use Axis Flaps Set doesn't work though - didn't try on the Bravo

Just tried on the Bravo and I can see the issue. Strange. I ended up with the following flaps detents set:

FlapStarts=-16384,-14384,-9485,-2213,4213,12213
FlapEnds=-14384,-9485,-2213,4213,11213,16384
 

Link to comment
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
×
×
  • 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.