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
JazzFunk
Posts: 2
Hi,

Simulator - X-Plane 12 / Aircraft - Rotate MD-11

I have a push button that I want to assign two functions to. That being normal press reset barometer to standard pressure and holding the push button for a long press (On Hold) I want it to swap between QNH and QFE.

I have both of these functions working fine but the problem that I have is that the short press (On Press) also activates when I am holding the push button for the long press (On Hold).

I have tried the ordering of using two different config lines but this make no difference when using On Hold.

Is there a way to stop the code for the On Press from activating if I am performing an On Hold?

Thank you.

Update - I have also posted in the Discord server :)
[Last edited by JazzFunk, 2024-02-20 16:22]
2024-02-20 16:02
Avatar
JazzFunk
Posts: 2
Hi,

My problem was answered on the Discord server - https://discord.com/channels/608690978081210392/1209519946258845705
2024-02-20 17:09
icon