* Add 'Show Instance ID' button to telemetry page to show/hide sensor instance number (default is hidden).
Fix issues with page refresh when all sensors deleted.
Select closest sensor when a single sensor is deleted.
On change, only refresh the sensor list instead of the whole page.
The 'showInstanceIds' property is saved to the model file.
Update Companion to save/load 'showInstanceIds' in model YAML file. Add checkbox to telemetry edit page.
* Update all radio specific files.
* Keep focus on 'Discover/Stop' button when searching for new sensors.
Start sensor ID index at 1 to match B&W radios.
Keep focus on changed parameter when editing sensor, don't rebuild entire parameter list on change.
* Display actual 'instance' ID instead of 'instance' + 1.
* Fix incorrect ID when reloading simulator data.
* Fix incorrect ID when reloading simulator data on B&W radios.
* Rework the rotary encoder acceleration calculation, and remove double handling of acceleration.
* Reduce the acceleration sensitivity.
* Set the 'rotencSpeed' variable for the Lua getRotEntSpeed function().
* Fix the BUG of V0 receiver setting IBUS SBUS; add the setting item of INRM301.
* Fix check failure; remove some unused characters.
* Fix typos and rename variables as well as fix compilation errors.
* add language
* Add layout 4+2B right side 3QRT+1QRT
* Fix Layout 4+2B LayoutId, length max 9 char
* Maybe this will work?
---------
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
* Add support for the '1x' repeat option for 'Play Script' special functions.
* Add Companion and B&W radio support.
* Fix B&W radio logic and layout.
* Add translation hooks.
* Change ThemeFile class to use generic YAML parser instead of hard wired code.
Fix handling of empty input lines in YAML parser.
Increase size of YAML parser variables to handle theme 'info' property length.
* Update comment.
* Fix error.
* Proper fix for blank lines in YAML file.
* Fix YAML blank line handling (attempt 3).
* Ensure theme YAML file is backward compatible.
* Store selected theme in radio settings instead of selectedtheme.txt file.
On start, if radio settings theme is empty, try and load from selectedtheme.txt file.
In Companion, save/load the selected theme in the radio settings YAML file; but no UI to select theme.
* Update selected theme name in radio.yml if the theme name was edited.
* Only save 'selectedTheme' in Companion on color LCD radios.
* better_debug_name_on_statistics_page
* chore: Translations for Lua related strings
* chore: More translation strings for stats screen
* chore: Padding for STR_MS, STR_BYTES
---------
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
* Flight mode list and edit changes:
- Update trim ranges in Companion to match radio.
- Move trims setup to main edit view instead of dialog popup.
- Show/edit current trim value for each trim (if enabled)
* Show flight mode list view like logical switches.
* Update FM trim values in edit window if trim is changed (via trim switch).
* Use styles for layout
* Remove grid layouts - use flex flow as it is faster.
* Speed up page build time.
Reduces build time on TX16S Mk2 from ~320ms to ~25ms.
* Fix touch screen events.
* chore(ui): speedup gvars page
* Replace StaticText with LVGL labels.
* Further performance improvements.
* Remove diagnostics.
* Fix portrait layout.
* Refactor style to a separate class and use CHECKED state to control color of selected flight mode.
* Remove duplicate lines.
* User LVGL state and style for GV value font size selection.
Reduce the number of times the style_refresh state is changed.
* Center align name without needing hard wired offsets.
* Speed up page build time.
* chore: Bump libopenui
gagarinlg chore(ui): improve static text and window base speed (#88)
---------
Co-authored-by: gagarinlg <malte@langermann.net>
* Add scroll bar to radio settings/config pages.
* Add scroll bar to mode settings/config pages and screen settings pages.
* For pages display via TabsGroup class. move the scroll bar setting to the 'body' window.
* Fix position of new line on Inputs and Mixes pages.
* chore: Bump `libopenui`
* chore: Change Radio setup page headers
* chore: Model Setup page header changes
* Main menu, Model Manager, Model Templates
Including needed translation strings
* Model telemetry sensor edit page
Taking into account sensor value shown in header
* chore: Change "Edit Labels"
Resolves#3014
* fix(b&w): "Rx channel ord" -> "Def chan order"
Resolves#3348
* chore: Update translations
* chore: Change to prefered "Manage Models"
* chore: Cleanup
* chore: Move some colorlcd-only strings
May or may not save some flash memory
* fix: Missed a translation string rename
* fixes https://github.com/EdgeTX/edgetx/issues/3273
* empty commit to trigger checks
* Companion: moved yaml tag receivers correction to yaml parserCompanion and radio: updated comments
* Allow switches on the connected radio to control switches in the simulator via the joystick interface.
* Merge configurable radio joystick interface from banyaszg.
* Add two more 'axis' channels to companion.
* Fix 6POS from USB joystick to simulator.
* Reduce data size.
* Fix build error on B&W radios.
* Add 'Companion' button mode to work with the button logic in the Companion app.
* Build Companion joystick setup layout at runtime.
Change #define names for simulator joystick.
Allow 15 axes and 32 buttons.
Initial support for trim sliders.
* Remove custom joystick button type for companion - use 3 buttons per switch in companion to control simulator switch state.
* Fix joystick constructor calls parameters. Connect some radio joystick trims to simulator widgets.
* Restore 'companion' button type to reduce number of buttons needed. Make trims work via buttons in USB joystick.
* Connect joystick trim buttons to simulator widgets.
* Use companion source names for trims.
* Add encode / decode of usb joystick custom settings to Companion.
* Convert to lvgl layouts.
Update language files.
* Fix generated YAML storage files.
* Fix initialisation error when editing button channel. Cleanup code.
* Fix rebase.
* Fix refresh of joystick channel list view after editing an entry.
Companion joystick config window uses two columns.
* Fix vertical joystick inversion bug.
Change stick axis labels.
---------
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
* Adjust the column sizes for the logical switches in the lust view and the channel monitor footer to fit largest V2 value for 'Edge' function.
* Cleanup code.
* Elevate telemetry screen count from 5 to 10 on color radios.
* Cpn increase max custom screens
* fix(color): Missing Add tab button on max-1
addTab was not called when adding screens dynamically
---------
Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
* Implement DISPLAY_TRIMS_CHANGE option for color LCD trim widget.
Refactor code.
* Change data type to prevent build tests failing.
* Display trim value to the side like B&W radios.
* Add padding to 'Trims' and 'Throttle' setup pages.
* Add padding to pre-flight checks page.
Make button size consistent.
Fit more buttons per row,
Display proper pot and slider names for center beeps.
* Add padding to radio setup pages (Sound, Vario, Haptic, Alarm, Backlight and GPS).
Move backlight inactivity timer to its own line and add a label (requires translation).
* Update translation.
* Hide Backlight controls that are not relevant to the backlight mode selected.
* Update translation.
* Update translation.
* Update translation.
* Update translation.
* Update translation.
* Display time on main screen and telemetry for B&W radios.
Fix position for timer0 display on telemetry screen (was off screen).
* Put the time between the trim bars.
Center the stick boxes and the pot/slider bars.
* Remove code for unsupported radios.
* Fixes for B&W radio UI screens.
* Fix curve display to fit new size. Adjust curve for better horizontal symmetry. Adjust position crosshair to better fit curve line.