Skip to content
Sebastian M edited this page May 5, 2022 · 30 revisions

MobiFlight provides different options as Input Actions when a user triggers an Input Event, e.g. by pressing a button, turning an encoder or potentiometer.

Input Events

  • Button - onPress
  • Button - onRelease
  • Encoder - on Left
  • Encoder - on LeftFast
  • Encoder - on Right
  • Encoder - on RightFast
  • Analog Input - onChange

With MobiFlight 9.4 you can now copy an input action from one tab to another

For these events, the following Input Actions are available:

MSFS2020 - Custom Input


This action requires the installation of the latest WASM module.


You can provide the code in the text box that shall be executed by MobiFlight. The code can have a maximum length of 255 characters. There is no syntax check.

You can use simple replacements, e.g. @ for the current input value (makes sense for the potentiometer), and you can reference placeholders defined for the config (on the config reference tabs).

Expression syntax is not possible to prevent conflicts with the code.

MobiFlight Variable

You can store values in MobiFlight variables when a user triggers an input event.

Settings

  • Type - Number or String. Number stores value for variable as number; String stores value for variable as String.
  • Name - The name of the variable. There are no restriction or conventions. Names are case-senstive, e.g. "myVar" is not the same as "MYVAR" or "myvar"
  • Value - the value that you would like to store. You can use replacements, e.g. @ for the current input value (makes sense for the potentiometer), and you can reference placeholders defined for the config (on the config reference tabs). The value field also supports expressions.

Retrigger Switches

FSUIPC - Offset

FSUIPC - EventID

FSUIPC - PMDG EventID

FSUIPC - Jeehell Events

FSUIPC - Lua Macro

Keyboard Input

vJoy - Virtual Joystick

Installation

User Interface

Examples and tutorials

MSFS2020

X-Plane

Workshops

Community Boards & Devices

Additional Information

Firmware

Clone this wiki locally