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
zenit_swe
Posts: 10
I'm working on a panel for my Aerosoft A320 that will use a combination of MobiFlight (for inputs and 7-segment displays) and Link2FS (for 1602 LCD displays). The A320 uses push/pull encoders for the altitude, speed etc but since I just have encoders with push button support I've been trying to figure out how to implement the "pull" function. I've come up with an idea to use short and long press on the encoders push button, where a short press is a push and a long press is a pull.

I wonder if this can be done with MobiFlight?
2016-09-28 15:15
Avatar
inancatil
Posts: 47
Hi , I came up with this idea and built it. I saw it somewhere but couldnt find the source. Here is my pictures, I hope they are clear to get the point.
https://www.dropbox.com/sh/u3r6yymg05b2xgn/AAAsVRArXgE_olmyAtFqnk23a?dl=0
2016-09-28 22:43
Avatar
zenit_swe
Posts: 10
What a clever solution! I will certainly try that one.

About the long/short press I've found that this can be accomplished with LUA, there's even an example script among the scripts that come with FSUIPC.
2016-09-29 08:15
Avatar
NigelD
Posts: 1
Nown that is a very clever solution! Thank you for sharing it.
2016-11-23 20:12
Avatar
pizman82
From: ETSI, Germany
Posts: 6010
Supporter
Nice Work. I thought about the same way. But i will prefer a spring on the Backside.
In this building a undesigned pulling can maby happen cause the button is realy close to the board. If you put it on 5-10 mm space between and use a spring to get the Rotary back in unpulled position it may be better.

Pls report about undesigned pulls with youre build.. thks
Good Luck !
2016-11-27 07:57
Avatar
inancatil
Posts: 47
iconpizman82:

Nice Work. I thought about the same way. But i will prefer a spring on the Backside.
In this building a undesigned pulling can maby happen cause the button is realy close to the board. If you put it on 5-10 mm space between and use a spring to get the Rotary back in unpulled position it may be better.

Pls report about undesigned pulls with youre build.. thks


Yes, using spring would make it better but I couldnt find proper ones, and this was my first try. Solders are already broken and can't usable :-/ Will try better one later but I am very busy with my school..
2016-12-02 20:07
icon