These are the Support Forums for FSUIPC and related products.
These forums replace the old support forums which have been running for 20+ years. The old forums contain a wealth of information on all FSUIPC products, but are now no longer available.
Please note that you will need to Register and Login to post for support, and also to download attachments. You can view these forums without registering.
Support is also available via Discord. Please use the following invite link to join the FSUIPC Discord server:
https://discord.gg/zjwUTrxmmE
Entries for the PMDG 777 (EFIS First Office Edition)
Hello, dear FSUIPC Team,
Is it possible to also integrate the MODE button for the EFIS on the First Officer’s side into FSUIPC (Buttons & Switches)? Also the MTRS/FPV button and the MINS button (Radio/Baro)
Since I’ve built a B777 cockpit and can’t program these buttons via FSUIPC.
Thank you very much for your help
Best Regads
Stephan
Wow - thats a very nice looking set-up you have there! Very impressive.
The available presets come from the MobiFlight HupHop site (see https://hubhop.mobiflight.com/presets/msfs/). This is a community effort led by MobiFlight. If there are missing presets, then the place to ask about this is on the MobiFlight discord channel. They are usually pretty helpful and can look into such things for you.
I do look into such things, if I have the aircraft in question and time available. I do have this aircraft, so can look into this for you, but in a day or two. I did look at one, the MODE button, and I can show you how to do this...
You can skip this section of not interested in doing this for yourself, but look later where I define the preset for you!
First, look at the current preset definition in the events,txt file (or on HupHop). This is it:
PMDG_B737_EFIS_L_Mode_APP#0 (L:switch_359_73X) - 10 div s0 :1 l0 0 > if{ 35907 (>K:ROTOR_BRAKE) l0 -- s0 g1 } l0 0 < if{ 35908 (>K:ROTOR_BRAKE) l0 ++ s0 g1 }There are two things to notice here:
- the lvar being used, which is L:switch_359_73X
- the Rotor Brake parameters, which are 35907 and 35908.
Basically you want to use the same RPN code, but using the lvar for the FO side, and the controls for the FO side.
Activate DevMode in MSFS, and open the Behaviours dialog (Tools->Behaviours). You then need to select the interiors/cockpit xml file at the top right. For most aircraft, this is called *_interiors.xml (where the wildcard symbol '*' represents the aircraft name). But for the PMDG 737, its called PMDG_NG3_VC_700.XML.
Once thats open, go back to the cockpit and select/hover over the EFIS Mode control button (until it highlights), then enter Ctrl+G. The behaviours dialof should then be populated. Here's what it looks like (with relevant sections open):
Hopefully in that image you can see the lvar being used (L:switch_359_73X) and the controls being sent ('359 * 100' which is 35900, and later you can see it adds 7 for wheel down and 8 for wheel up, so its using 35907 and 35908). Note you can also determine the correct parameter from the PMDG header file.
Now do the same with the FO side EFIS Mode knob, and you see this:
Note the lvar used is now L:switch_415_73X, and the parameter (under CALLBACKCODE) is 415*100, i,e, 41500, then add the 7/8 to get 41507 and 41508.
So you can then define your own preset. In your myevents,.txt file (create this file in your FSUIPC7 installation folder if it doesn't exist), and add the following:
//PMDG/B737-700/EFIS
PMDG_B737_EFIS_R_Mode_APP#0 (L:switch_415_73X) - 10 div s0 :1 l0 0 > if{ 41507 (>K:ROTOR_BRAKE) l0 -- s0 g1 } l0 0 < if{ 41508 (>K:ROTOR_BRAKE) l0 ++ s0 g1 }The reload the presets (from the FSUIPC File menu) and the preset should then be available for assignment under the 'Personal' preset folder.
Try that please.
You can try looking at the other ones yourself. Otherwise, I will take a look at the others for you in a couple of days, when I should have a bit more time...
Regards,
John
Oops, sorry - just realized I was looking at the 737 and not the 777! I will take a look at the 777 later today and get back to you...
Also the MTRS/FPV button
There are already presets for this:
PMDG_B777_EFIS_R_FPV_Button_Press#26001 (>K:ROTOR_BRAKE) PMDG_B777_EFIS_R_MTRS_Button_Press#26101 (>K:ROTOR_BRAKE)
- Hey, thank you so much 🙏 I'll check it out tonight ☺️ But I just wanted to say a big thank you in advance 🙏🤗
These are the EFIS presets for the captains side, in the events.txt file:
//PMDG/B777 300ER/EFIS
PMDG_B777_EFIS_L_MINS_REF_BARO#(L:switch_181_a) 0 == if[ 18101 (>K:ROTOR_BRAKE) }
PMDG_B777_EFIS_L_MINS_REF_RADIO#(L:switch_181_a) 100 == if[ 18101 (>K:ROTOR_BRAKE) }
PMDG_B777_EFIS_L_MINS_REF_Toggle#18101 (>K:ROTOR_BRAKE)
PMDG_B777_EFIS_L_MTRS_Button_Press#19401 (>K:ROTOR_BRAKE)
PMDG_B777_EFIS_L_Mode_Knob_APP#0 (L:switch_185_a) - 10 div s0 :1 l0 0 > if{ 18507 (>K:ROTOR_BRAKE) l0 -- s0 g1 } l0 0 < if{ 18508 (>K:ROTOR_BRAKE) l0 ++ s0 g1 }
PMDG_B777_EFIS_L_Mode_Knob_CTR_Press#18601 (>K:ROTOR_BRAKE)
PMDG_B777_EFIS_L_Mode_Knob_Dec#18508 (>K:ROTOR_BRAKE)
PMDG_B777_EFIS_L_Mode_Knob_Inc#18507 (>K:ROTOR_BRAKE)
PMDG_B777_EFIS_L_Mode_Knob_MAP#20 (L:switch_185_a) - 10 div s0 :1 l0 0 > if{ 18507 (>K:ROTOR_BRAKE) l0 -- s0 g1 } l0 0 < if{ 18508 (>K:ROTOR_BRAKE) l0 ++ s0 g1 }
PMDG_B777_EFIS_L_Mode_Knob_PLN#30 (L:switch_185_a) - 10 div s0 :1 l0 0 > if{ 18507 (>K:ROTOR_BRAKE) l0 -- s0 g1 } l0 0 < if{ 18508 (>K:ROTOR_BRAKE) l0 ++ s0 g1 }
PMDG_B777_EFIS_L_Mode_Knob_VOR#10 (L:switch_185_a) - 10 div s0 :1 l0 0 > if{ 18507 (>K:ROTOR_BRAKE) l0 -- s0 g1 } l0 0 < if{ 18508 (>K:ROTOR_BRAKE) l0 ++ s0 g1 }
and these are those converted to the FO side - add this to your myevents.txt file and then reload the presets (if FSUIPC7 is running)::
//PMDG/B777 300ER/EFIS
PMDG_B777_EFIS_R_MINS_REF_BARO#(L:switch_252_a) 0 == if[ 24801 (>K:ROTOR_BRAKE) }
PMDG_B777_EFIS_R_MINS_REF_RADIO#(L:switch_252_a) 100 == if[ 24801 (>K:ROTOR_BRAKE) }
PMDG_B777_EFIS_R_MINS_REF_Toggle#24801 (>K:ROTOR_BRAKE)
PMDG_B777_EFIS_R_MTRS_Button_Press#26101 (>K:ROTOR_BRAKE)
PMDG_B777_EFIS_R_Mode_Knob_APP#0 (L:switch_252_a) - 10 div s0 :1 l0 0 > if{ 25207 (>K:ROTOR_BRAKE) l0 -- s0 g1 } l0 0 < if{ 25208 (>K:ROTOR_BRAKE) l0 ++ s0 g1 }
PMDG_B777_EFIS_R_Mode_Knob_CTR_Press#25301 (>K:ROTOR_BRAKE)
PMDG_B777_EFIS_R_Mode_Knob_Dec#25208 (>K:ROTOR_BRAKE)
PMDG_B777_EFIS_R_Mode_Knob_Inc#25207 (>K:ROTOR_BRAKE)
PMDG_B777_EFIS_R_Mode_Knob_MAP#20 (L:switch_252_a) - 10 div s0 :1 l0 0 > if{ 25207 (>K:ROTOR_BRAKE) l0 -- s0 g1 } l0 0 < if{ 25208 (>K:ROTOR_BRAKE) l0 ++ s0 g1 }
PMDG_B777_EFIS_R_Mode_Knob_PLN#30 (L:switch_252_a) - 10 div s0 :1 l0 0 > if{ 25207 (>K:ROTOR_BRAKE) l0 -- s0 g1 } l0 0 < if{ 25208 (>K:ROTOR_BRAKE) l0 ++ s0 g1 }
PMDG_B777_EFIS_R_Mode_Knob_VOR#10 (L:switch_252_a) - 10 div s0 :1 l0 0 > if{ 25207 (>K:ROTOR_BRAKE) l0 -- s0 g1 } l0 0 < if{ 25208 (>K:ROTOR_BRAKE) l0 ++ s0 g1 }This was done by first determining the lvar name for FO side mode switch using the MSFS Behaviours tool:
captain-side mode knob: L:switch_185_a
first officer side mode knob: L:switch_252_a
==> change L:switch_185_a to L:switch_252_a in the preset code.
Then looking at the custom controls being sent (from the PMDG 777 header file in the PMDG SDK), these are the captain-side controls:
#define EVT_EFIS_CPT_MINIMUMS_RADIO_BARO (THIRD_PARTY_EVENT_ID_MIN + 181) #define EVT_EFIS_CPT_MODE (THIRD_PARTY_EVENT_ID_MIN + 185) #define EVT_EFIS_CPT_MODE_CTR (THIRD_PARTY_EVENT_ID_MIN + 186) #define EVT_EFIS_CPT_MTRS (THIRD_PARTY_EVENT_ID_MIN + 194)
which need to be mapped to the FO side controls:
#define EVT_EFIS_FO_MINIMUMS_RADIO_BARO (THIRD_PARTY_EVENT_ID_MIN + 248) #define EVT_EFIS_FO_MODE (THIRD_PARTY_EVENT_ID_MIN + 252) #define EVT_EFIS_FO_MODE_CTR (THIRD_PARTY_EVENT_ID_MIN + 253) #define EVT_EFIS_FO_MTRS (THIRD_PARTY_EVENT_ID_MIN + 261)
which gives the mapping:
18101 ==> 24801
19401 ==> 26101
18601 ==> 25301
18507/8 ==> 25207/8
Regards,
John
