Constants
Constants defined for use in LVGL layouts.
lvgl.FLOW_ROW
Sets flex layout flow.
lvgl.FLOW_COLUMN
Set flex layout flow.
lvgl.PAD_TINY
2 pixel padding.
lvgl.PAD_SMALL
4 pixel padding.
lvgl.PAD_MEDIUM
6 pixel padding.
lvgl.PAD_LARGE
8 pixel padding.
lvgl.PAD_OUTLINE
Padding required around controls for focus outline.
Constants for the 'filter' property of the lvgl.source control. Can be used to limit which sources the user can select.
lvgl.SRC_ALL
Allow all source types, enable the 'Clear' button and the 'Invert' button.
lvgl.SRC_INPUT
Inputs
lvgl.SRC_STICK
Analog sticks
lvgl.SRC_POT
Pots and sliders
lvgl.SRC_SWITCH
Switches
lvgl.SRC_CHANNEL
Outputs
lvgl.SRC_TRIM
Trims
lvgl.SRC_LOGICAL_SWITCH
Logical switches
lvgl.SRC_GVAR
Global variables
lvgl.SRC_LUA
Custom Lua mix script outputs
lvgl.SRC_OTHER
MIN, MAX, tx battery, timers etc.
lvgl.SRC_HELI
Heli channels
lvgl.SRC_TRAINER
Trainer channels
lvgl.SRC_TELEM
Telemetry sensors
lvgl.SRC_CLEAR
Special value to control the 'Clear' button in the source chooser.
lvgl.SRC_INVERT
Special value to control the 'Invert' button in the source chooser.
Constants for the 'filter' property of the lvgl.witch control. Can be used to limit which sources the user can select.
lvgl.SW_ALL
Allow all switch types, enable the 'Clear' button.
lvgl.SW_SWITCH
Switches
lvgl.SW_TRIM
Trims
lvgl.SW_LOGICAL_SWITCH
Logical switches
lvgl.SW_FLIGHT_MODE
Flight modes
lvgl.SW_TELEM
Telemetry sensors
lvgl.SW_OTHER
ON, ONE, trainer connected, radio activity, etc
lvgl.SW_CLEAR
Special value to control the 'Clear' button in the switch chooser.
Last updated
Was this helpful?