Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.
You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks!
Yes this is possible..... Whatever in a bit advanced way.
We have a guide that include that https://www.mobiflight.com/forum/topic/652.html . EDIT: I See the Pictures are broke there. So it is not verry usefull.
NOTE: The technic will work BUT Please think about if your system is usefull. Do this with the Khz/Mhz swap of Radios all is ok.... Thats done in Real aircrafts, too.
But savety relevant Things like VS-ALT are never combine in ONE Display or via ONE Encoder.... If you will for example reduce ALT to 3000 but you make a misstake and set VS to -3000 (without realise that youreself) then you will crash and kill your pasengers !
So.... Those functions will be never combined in real world !
You need a Single Config for every function in Mobiflight.
If you like to controll ALT and VS BOTH need a single config ( One use the Event/Offset of ALT ... the other use the Event/Offset of VS )
NOW you tricky use for BOTH Configs the same Encoder as device !
Problem: Now the encoder will controll both functions same time ! So we need a precondition each to tell the encoder what function he should controll at the moment.
Mostly you use the Button on encoder for that.
Create a Input Device ... BUTTON for that with this Button of encoder.
Create a Input Config and use OFFSET 1 Byte Adress 66C0 (66C0 and the follow are free offsets ... get shure you not use it for other things)
In Value field you say : if($=1,0,1) ..... This will toggle the value on every use of your button... if 1 then 0 If 0 then 1 .
Finaly create a Output Config that readout the Offset you write in last step ( 66C0 1 Byte INT in our example) and call it for example "Toggleswitch"
Now use in the 2 Encoder Configs a Precondition.... For exmaple the ALT should only work if Outputconfig "Toggleswitch" is "0" ..... And the VS Config should only work if the same "Toggleswitch" config is "1" .
NOTE: This can be done more detailed, too. For example with a 12 Position switch that write the offset to 12 different States... So you can controll 12 things with one encoder.
Or you can make a Push button that switch through 5 different things ( First push control ALT next VS next HDG next SPD and so on)
I just explane the main logic.... With ather "Value logic" you can do lots of nice things here!
I hope you understand this short guide..... If not just tell us where you get in trouble... we try to help !
COM RADIO WHOLE DEC 65636 (MHZ Encoder On LEFT)
COM RADIO WHOLE INC 65637 (MHZ Enoder on RIGHT )
COM RADIO FRACT DEC 65638 (KHZ Encoder on LEFT)
COM RADIO FRACT INC 65639 (KHZ Encoder on RIGHT )