MobiFlight Community Support

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! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

icon
Avatar
Gonsey
Posts: 9
Can you help
I have EC11 rotary encoders for pedestal NAV / VHF etc that will be connected to arduino mega.
Plane is PMDG 737 ngxu
Could you tell me step by step for to set them up in each tab of mobiflight.
I have done several led's that you have helped me with but never switches or knobs with event id's
Please explain
Regards
Paul
2020-12-17 11:36
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi Paul.

Most is self explaned and also showed lots of times here in forum.
For future please use SEARCH or simply read topics that are about that thematic in the header.

In short words.....

1. You need the PMDG Event ID List ( i not got it for NGX"u" but most is the same)
You can check also the "sdk.h" file in your PMDG subfolder. There all Events are listed.
http://myhomecockpit.de/PMDG_737NGX_EVENT_IDs_SP1d.pdf

Basic Rules:
Each "System" got a own Event.... So each Switch, each Encoder, each Button.
Instead of Stock FSX/P3D , PMDG work a little different.

Stock Aircrafts got a single EventID for a Action.... For example a Own Wvent for Heading Increase.... And a other for Heading Decrease. And all use Parameter "0"
PMDG got just ONE Event for "Heading" .... the Increase or decrease is controlled by the "Parameter".

For Parameter PMDG got 2 Systems..... Values OR Mouse Actions.

- A Value is a Fixed Number.... For example Multiposition Switches like the AutoBrake have Parameter 0 for the Left position.... Parameter 1 for the next.... Parameter 2 for the next and so on.... Ot the APU Switch.... Here OFF=0 ON=1 Start=2
- Buttons and Encoders use MOUSE Action..... Here we got a Parameter Number for each "Mouse Action" Leftclick, Rightclick, Mousewheel Up/ down and so on.
Here we simply use the Mouse Action we also would use in the virtual Cockpit..... For example a Leftclick for each Button.... Or Mouswheel Up/Down for Encoders.

****************

Summary:
1. Findout the EventID for the element you like to use.
2. Define if it´s a Multiposition Input ( ON/OFF Latching switch or 3+ Positions Switches) OR a Momentary Button OR a Encoder
3. Use a Value Parameter for Multipos.... Or the needed Mouse Action for Button/Encoders.

And thats it !
Good Luck !
2020-12-18 23:01
icon