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
Doon1
Posts: 53
I'm using the input, "Microsoft/Generic/Controls/RUDDER_SET". It works, but center and travel are not correct. Center is off center and there is only about 70% travel. I assume that I need to change the values in the "Preset Code" box. but I don't understand what is being said there. I imagine the toe brake input is similar.
I would also like to be able to have the raw input data displayed as an input value. I'm using several MSFS sim variables for force calculation already. I'm guessing that I would put something into the code box that will allow me to use it as a config reference. But that's total speculation.
This is the last piece of the puzzle of my force feedback rudder pedals.
Thanks,
John
[Last edited by Doon1, 2022-04-24 16:55]
2022-04-24 16:37
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

First question ..... Do you use a HID Joysitck as input ( e.g. a axis of a real HID Joysitck device) OR do you use a Poti as a device on a Arduino via Mobiflight ?

The difference is.... a HID device mostly work from 0-65535 ( or -32.768 to +32.767 ) .... A Mobiflight device work from 0-1023 !


To check the raw value simply make a Input config.... use your Poti Device (whatever HID or Mobiflight Poti) and write a Mobiflight Variable with it ( transform : @)
Then make a Output Config and jsut read the defined Mobiflight Variable.
The "Value" Collumn to the right then show you (while RUN Mode) the Raw value of the Axis Input.

About calibration:
If we talk about "HID Axis" you can use the Windows Gamecontroller Calibration to get finally a clear Value,

For MF Potis we use a formula calibration.... Mostly within the RPN Code for FS2020.
On "HubHop" there is a nice tool.
There you can enter the Min and Max Value of Poti and the Tool create the needed Code to handle exactly YOUR poti.
https://hubhop.mobiflight.com/tools/

For sure you can also work with transform and Compare/Interpolation to make formulas for calibrate this!

At last.... We know this is not intuitive and not perfect a.t.m.
But always keep in mind. It was never our main target to allow Potis. Basically we just planed them for things like Volume Controll or Brightness Selectors.
Mf was not build to make Rudder Panels or other Flight Controlls !
Good Luck !
2022-04-25 00:14
Avatar
Doon1
Posts: 53
Hi Pizman,
Jamie was able to help me in Discord.
You may not have designed Mobiflight for force feedback or flight control axis, but it works great for both. I also have the toe brakes mapped through Mobiflight. The analog brake variable is in the SimConnect SDK. Jamie pointed me to the RPN tool in Hubhop. It was very easy to use. I still have some tweaking of the config reference values to better dial in the force feedback but I'm happy with the way it works.
2022-04-25 03:48
icon