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
jpmota
Posts: 2
Hello,
I'm using Prepar3D / generic aircraft.
I checked an analog input with release 9.0. I selected FSUIPC-EventID / AXIS_RUDDER-SET, 65764. It doesn't work.
Same with the other axis (Aileron, Elevator).
On the same card Arduino 2560, buttons are well functioning.

May I have some help please
Jean-Pierre
2021-08-09 10:59
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Will check this...... Or hopefully it is solved already !
Good Luck !
2021-08-25 16:57
Avatar
jpmota
Posts: 2
No it's not solved already. Hoping that you could help me
2021-08-25 17:49
Avatar
Keiji.K
From: Kyoto, Japan
Posts: 4
I was also looking for an analog input method.
It is explained here.
https://github.com/MobiFlight/MobiFlight-Connector/wiki/Example-Analog-Input-Potentiometer
2021-09-03 11:54
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
OK

I still not test it.... My Poti is not deliverd from China till now.
But i still see some examples from other users.

The Poti gives a value of 0-1024. So if you use the "@" as explaned in the linked guide then Mobiflight will send this value to the Sim.

About Problems:

1. Get sure the used Offset allow you to WRITE it. For sure we can NOT write a Offset that is marked as "Read Only".

2. Think about usecase. I personally not recommend to use a MF Poti for Controlls like Rudder, Throttle, Aleron and so on. Here a Joystick Controller and the Windows/Sim internal HID Controllers are 1000 times more comfortable , accurate and more easy !
Poti via MF are used for things like Dimm Lights and some specila elements !

3. Recalculate the Value so it fit to the Range of the Offset in the Sim.
Remember.... The Poti gives a Value "0-1024" ...... The Rudder Axis in FSUIPC is for example -16383 to +16383
So we need a Formula to make this compatible.
if(@<512,(@-512)*32*-1,@*32)
NOTE: i not test this in case i got no poti..... May its wrong. Please try out !
Good Luck !
2021-09-08 19:16
icon