Post · 1 min read· p. 16

Constants

This section describes various constants that are provided for Lua by EdgeTX.

Topic

Description

Key Events

Key input event constants returned to Lua scripts.

Touch Events

Touch interaction event constants for radios with touch support.

Flags and Patterns

Drawing flags, font flags, and fill/pattern constants used by LCD APIs.

Colors

Color constants and indexed color helpers for color LCD radios.

Screen size

Screen-related constants and display-size helpers.

Logical Switch Functions

Function constants used by logical switch APIs.

Special Functions

Special function constants used by model configuration APIs.

Special Characters

Character constants that appear in source and switch labels.

Widget Options

Constants used when defining widget option metadata.

LVGL Constants

LVGL-specific layout, picker, scrolling, and object-construction constants.

Units

Unit constants used by telemetry and value-display APIs.