-
-
Notifications
You must be signed in to change notification settings - Fork 104
Using the selector knob on a Honeycomb Bravo
The Honeycomb Bravo's autopilot inputs rely on a selector knob to indicate what autopilot feature the right knob controls. MobiFlight pre-conditions can be used to configure the appropriate events for the right knob based on the selector knob position.
A sample file that implements this is available. It provides all the input configs necessary to make this work, however you'll have to edit all the knob
inputs to specify what events you actually want to have happen when the knob is turned.
This same technique can be used to do things like display different radios on a 7-segment display based on a knob position, or to use a single encoder with a toggle button to change different radio frequencies.
Want to build the file yourself and understand how it works? Here's how to do it.
- Create a new input config called
Selector - ALT
- Set the module to
Bravo Throttle Quadrant
and the device toMode - ALT
- For the
On Press
event selectMobiFlight - Variable
for theAction Type
- Set the variable name to
Selector
- Set the value to
0
The input config should look like this:
Repeat step 1 four more times, updating the name to and device to reflect the switch position (VS
, HDG
, etc.) and incrementing the value by one for each switch position. When you are done you should have five input configurations that set the Selector
variable to the following values:
Input name | Device | Variable value |
---|---|---|
Selector - ALT | Mode - ALT | 0 |
Selector - VS | Mode - VS | 1 |
Selector - HDG | Mode - HDG | 2 |
Selector - CRS | Mode - CRS | 3 |
Selector - IAS | Mode - IAS | 4 |
Your input config tab should look like this:
- Create a new input config called
Right knob - ALT decrement
- On the
Precondition
tab click on<none>
in the precondition list - Set the
Use type of
dropdown toMobiFlight Variable
- Set the
Choose variable
dropdown to `Selector - Set the value to 0
The precondition tab should look like this:
- Switch to the
Input
tab for the config - Select
Bravo Throttle Quadrant
from theModule
dropdown - Select
Encoder - Left
from theDevice
dropdown - Configure the
On Press
event to do whatever event you want - Save the config
The input tab should look like this, with whatever action type configured you decide to use:
Repeat everything in step 3, except select Encoder - Right
from the Device
dropdown and name the input Right knob - ALT increment
.
Repeat everything in step 3 and 4 except when configuring the precondition use the appropriate number from the table in step 2. For example, if you are creating the increment and decrement configs for CRS
you would use 3
for the precondition value. Make sure to name the configs appropriately as well (e.g. Right knob - CRS decrement
).
When you are done your input config tab should look like this:
Step 6: Create an output config for the selector (optional)
To assist with debugging it can be helpful to have an output config that references the Selector
variable. To do this create an output config that looks like this:
There's no need to actually display it on any output device: this basic output config will show the value in the main Mobiflight window:
After Run
mode is enabled in MobiFlight you will need to rotate the left knob one position. There is no way for MobiFlight to know what position the left knob is in when you start so moving it once will ensure MobiFlight knows where it is set.
From there you can see in the input config list which configuration is active. All disabled configs will have a red !
next to them, while the two active configs won't. Here's an example of what the input config list looks like when the left knob was turned to the HDG
position;
- MobiFlight Connector Installation
- Mobiflight Connector BETA version installation
- Modules
- MobiFlight Connector Files Structure
- MobiFlight Connector Uninstall
- Modules Reset to factory default
- Verifying the WASM module installation and locating the MSFS2020 community folder
- Using a Winwing FCU with MobiFlight
- Providing logs from MobiFlight
- MobiFlight Connector How does it work
- Mobiflight Connector Main Window
- Flash module with MobiFlight firmware
- Input and Output devices
- Joysticks
- Midi Boards
- Sim Variables (for Output)
- Input Actions
- Merging configuration files
- Disabling specific COM ports
- Examples Output LEDs
- Examples Input Switch
- Example 7 segment display
- Example Servo motor
- Controlling LEDs with an output shift register
- Adding lots of buttons with an input shift register
- Beginner's guide to input multiplexers
- Key Matrix with standard MobiFlight and Multiplexers
- Tutorial Easy Driver and x.27 or x.40 Stepper Motor
- Tutorial for Airbus VS display via 7-Segment LED Module
- Example Analog Input Potentiometer
- Baron G58 Tutorial Gear, Flaps, Mags, ELT Input Output Programming
- Using Mobiflight to control arduino-based 3rd party panels (RealSimGear GNS530)
- How to use a VNH2SP30 DC motor shield with MobiFlight
- Using 3D printer mainboards
- Playing sounds by sending keystrokes to AutoHotKey
- Using the selector knob on a Honeycomb Bravo
- Using an adjustable 12 position switch as a GA starter
- Brightness of LCD displays with I2C
- Using three-position switches
- Transponder with one Rotary
- MSFS2020 RPN Tips and Tricks
- MSFS2020 Using the Custom Input Code Box
- MSFS2020 Install WASM module and Event List
- MSFS2020 How to Create and Use User Defined Lvars
- MSFS2020 How to Create a Blinking LED configuration
- MSFS2020 User Defined WASM Module Events Best Practices
- MSFS2020 Developer Mode, Model Behavior dialog and Console window
- MSFS2020 PMDG 737‐700 List of Events that require use of FSUIPC7
- MSFS2020 PMDG 737‐700 Calibrate throttle idle and reverse thrust using interpolation (Valkyrie)
- MSFS2020 PMDG 737-700 Chrono unit functions implemented in Mobiflight
- Configuring PMDG 737 Parking Brake Lever Auto-Release with a Servo in Mobiflight
- Using encoder to drive a value back and forth within a given range
- Adding a custom board to MobiFlight
- User guide - Community Board and Custom Devices
- Developing your own custom devices/boards