Joysticks - MobiFlight/MobiFlight-Connector GitHub Wiki

MobiFlight can also work with your Joysticks and you can assign MobiFlight actions to buttons, axis and hat switches. For the Honeycomb Bravo you can also assign the lights as Output Configs.

Settings

Settings dialog is opened via Extras -> Settings -> Peripherals.

  • General joystick support can be enabled/disabled.
  • Single joysticks can be excluded by removing the checkmark in the active joysticks list.

image

Inputs

Joysticks are listed as individual "Modules" next to any connected MobiFlight Board in the Input Config Wizard.

When a joystick is disconnected during MobiFlight execution, MobiFlight will remove the Joystick from the internal list of devices for the rest of the MobiFlight session. You will have to restart MobiFlight to pick up any newly connected or re-connected Joystick.

Joystick Buttons

MobiFlight treats Joystick similar to regular MobiFlight Buttons. This means that you can assign any MobiFlight action to either "OnPress" and "OnRelease" event.

Joystick Axis

MobiFlight treats Joystick similar to regular MobiFlight Analog Inputs. This means that you can assign any MobiFlight action to the "OnChange" event. You can reference the current axis reading as "@".

Joystick Hat Switch

MobiFlight treats a hat switch like 8 individual buttons, one button for each direction:

  • Up (↑)
  • Up Right (↗)
  • Right (→)
  • Down Right (↘)
  • Down (↓)
  • Down Left (↙)
  • Left (←)
  • Up Left (↖)

Each direction is available from the device drop down menu and you can assign individual actions for "OnPress" and "OnRelease".

Honeycomb Bravo Support

With the latest MobiFlight version you can also use the built in LEDs and lights of the Honeycomb Bravo Throttle Quadrant in your output configurations. The Bravo lights behave similar to the regular MobiFlight outputs. Bravo lights only support On or Off and not PWM signals.

If you have a Bravo Throttle connected before starting MobiFlight you can use it in your output configs:

You can select the LED status lights from the list with meaningful names:

Value greater than 0 are always converted to 1.