All JustFly apps and menu pages can be converted into a widget. Standard, all main menu's are available as widget, as well as all separate apps.
Because widgets are not aware of any button inputs, widgets are controlled by switch (or stick) inputs, that are only active when a widget is on the screen. This also means that you can synchronise widget responses (all react to the same input), useful for instance to trigger all graph widgets on the same page on the flip of a switch. But when you use different switches for the different widgets on the same page, you can control them completely independant from each other.
Standard widget options are:
- ENTEREXIT: switch to mimic Enter or Exit or Long Press Enter or Long Press Exit functions; SE by default
- PLUSMINUS : switch to mimic Plus or Minus functions; SG by default
- SmartMode: 0 or 1; LCD zone offset (0) or offset and scaling (1); 1 as default
- Display: 0 or 1 or 2; Horus (0), Taranis(1) or X7'2) script; 1 as default
- BackGround: 0 or 1; Transparant (0) or White(1) background; 1 as default
If there are specific options for the widget type, these take priority, and will shift the default options out of the list. These are then still active, but unsettable from the widget.
If there are more then 5 specific options, the surplus will shift out of the list and will not be settable as a widget option. They are however globally settable by changing them through the AppMan help page for that app.
To install a widget, take the following steps.
1) long press the TELE button to arrive at the widget setup page:
2) Press page down until you arrive at an empty page:
3) Press Enter to add a page, and select your prefered widget layout and select it, and move to the 'Setup widgets' button:
4) Press Enter to start selecting a widget for the active zone (solid box):
Press Plus to activate the next, and Minus to activate the previous available widget.
Press Enter to enter select the active widget, and enter the setup page:
This example shows the FIFO graph widget setup page. It has three configurable options, that are defaulted to the settings entered and saved by accessing this app through the AppMan menu. The SmartMode, Display and BackGround options are shifted out of the list, and defaulted. In this way, every seperate instance of this widget can be set to a different source, scale and timeframe.
Widgets supplied by JustFly can be asssigned to any widget zone. They will scale within the display and text limits imposed by the LCD screen and OpenTX. This means that some Apps are less useful in small zones, but they are not excluded to be assigned to them.
The menu type widgets will work usefully in all main screen widget zones, except for the very small 8 zone widget layout.
The graph type widgets will work on any zone, even the top bar ones, thanks to the carefully chosen layout. The actual value of the logged patrameter is always shown in a number format in the middle of the widget zone, making them even useful on the top bars or elongated 8-widget zones.
After selection of a widget, the ENTEREXIT, PLUSMINUS, Smartmode and BackGround settings are shwon for a few seconds in the lower right corner, to remind you of the settings.
The available widgets are listed below with a screenshot in the Widget Setup mode, for the half screen size. The name of the widget is shown in the upper right corner:
If you want to create your own widget, based on any script, just create a new folder in the WIDGETS directory (name containing 10 or less characters), and add a main.lua text file, containing the following line of code:
where the yourLuaFileLocation is refering to the lua file, noted WITHOUT the ".lua" extension, that is added by the widgetcreator.
The default widget options are automatically created, and allow you to adapt the widget to your liking.
IF YOUR SCRIPT IS NOT CONVERTED CORRECTLY, PLEASE SEND A COPY BY MAIL WITH THE REQUEST TO CHECK IT FOR CONVERSION COMPATIBILITY.
Most of times it can be solved within a day, free of charge. Sometimes not, so no guarantees for conversion success are granted.