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
Domi1802
Posts: 10
Hello

How to wire a push button for hdg select which:
When you press, you activate the hdg
When we press again we deactivate the hdg
I use the following event 70024 with only parameter 0 or 1

How to simulate an auto maintains
2017-07-19 16:19
Avatar
Domi1802
Posts: 10
I found I use the following event

536870912 for pushing the button
and 131072 for release of the button
2017-07-19 16:44
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi Domi

FIRST:

Please write ALWAYS in a Request your used Aircraft.... Myself i work with PMDG so i see EventID 70024 is for the 737NGX...
But other Users not see this and can´t help you.... And Myself i can´t rember from 100 Users here what Aircraft Addon they are using..

To Your Question....

I already awnserd exact this in your other Topic you opend 2 Days ago....
https://www.mobiflight.com/forum/message/5458.html

iconPizman82:


PMDG works most time with Mouse Actions ( Only the Multi Position rotary Switches work with a real value)

So if you like to config a switch simply go in the Virtual PMDG Cockpit and use the Button with your Mouse! If you put the button on for example with a LEFT SINGLE CLICK then use as Parameter the Number for LeftSingleClick....
EventID Number define the used Function.... Paramter define the used Mouse Action

This workes for 95% of Inputs.... For the others you normaly use Values... For example the EFIS Mode Selector got 4 Positions... APP,VOR,MAP and PLAN ... Here it is numbered 0,1,2,3 ..... To set this Rotary Switch in Position APP for example Parameter is "0" for PLAN parameter would be "3"



*****
For the HDG SELECT Button the Technic is like i say.... You controll it in virtual Cockpit simple with a LeftSingle by the Mouse...
So Use ON PRESS EventID 70024 Paramter 536870912 ( Left Single)
You NOT need a On Release here normaly cause a Left Single include the Release (131072) THIS RELEASE is only needed if you work with the Left/Middle/Right DRAG Commands ! ( Or in some verry special situations)
Good Luck !
2017-07-19 22:23
icon