Commit Graph
15 Commits
Author SHA1 Message Date
philmozandGitHub 5327c890f2 feat: Add options to disable radio and model menu tabs (#3484)
* Add options to disable radio and model menu tabs.
- Update radio and model data structs
- UI for color LCD radios
- Convert existing 'noGlobalFunctions' property.
- Language strings.

* Make 'theme' control specific to color LCD radios.

* Add B&W radio UI.

* Simplify code, reduce compiled code size.
Fix page count display on model select tab.
Fix GVARS for 212x64 radios.

* Collapse timer sections if timer is off.

* Remove 'Use global functions' checkbox from B&W model setup.

* Make preflight checks, throttle and view options sections expand & collapse (default collapsed).

* Fix build.

* Add view options to companion data classes, save and load values in YAML files.
Fix scrolling for radio setup view options.

* Add Companion UI for view option settings.

* Remove 'Mixes' from list of tabs that can be hidden.

* Updated Companion UI from elecpower.

* Use view options flags to enable/disable functionality:
- skip heli mixer logic if heli not enabled
- Remove heli, gvars and telemetry options from source selection if not enabled

* Remove 'flight mode', 'curve' and 'global variable' settings from input & mix editors if option disabled.

* Rename 'View Options' to 'Enabled Features'.
Put GVAR option under Flight Mode and indent text.
Make relationship between FM and GV more obvious.

* Remove global variable option dependency on flight modes.
Hide FM1-FM8 in global variables if flight modes hidden.

* Hide 'Custom Mixer Scripts' in source selection menu popup if disabled.

* Add translation strings for Hebrew language file.

* Fix typo. Add comment for double call to setCurrentTab.
2023-05-22 20:08:16 +10:00
Raphael Coeffic a79f00f675 fix(x9d): navigation in both directions using +/-
This issue was introduced in 62692dba6a.
2022-09-01 07:21:14 +02:00
62692dba6a feat: More rotary encoder options for B&W screens (see #2045)
* First build

* Fix X9

* Update api_general.cpp

* Update translations.h

* clean up translations

* fix: B&W option handling, remove magic numbers, cleanup
- Remove references to invertRotary, change to RotEncDir or similar
- Add compatabilty importing to companion, firmware
- Rename Lua API call
- Move magic numbers to enum
- Improve B&W option handling so it doesn't apply changes while in menu

* chore: yaml regen

* fix: Add missing guards for X9D/X9D+

* fix: Wrong enum name in simu

* fix(cpn): Use correct names for UI elements

* fix: Translations

* fix: Allow `rotEncMode` in all yaml due to x9d var
Of the three X9D variants, the X9D+2019 is the only one that
has a rotary encoder as standard. However, as the base config
file is for the X9D, this meant it wasn't reading or writing the
config value. Rather than add a seperate config file for it for
a single variable, simple to just allow it across all targets.

* fix: Companion string, change colorlcd to `Choice`

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-08-04 20:06:17 +10:00
rotormanandRisto fc2142ec78 Changed uniformly to EdgeTX boiler plate (also added boiler for files that were missing it). 2021-10-02 14:22:01 +02:00
3djc 925af297e5 Cosmetics 2021-01-19 14:34:43 +01:00
3djc ce028e7fe4 Apply to all targets 2021-01-19 08:50:10 +01:00
3djcandGitHub 891c13e98d Spectrum analyser reworked (#6836)
* Spectrum analyser reworked

* Fix typo

* Cosmetics

* Cosmetics

* yet another overall look update

* T16 compilations fixes

* Various Taranis compile  fixes

* Cosmetics

* Cosmetics

* Cosmetics

* Cosmetics fixes
2019-10-10 15:42:35 +02:00
Bertrand SongisandGitHub aee77ed9e9 Navigation code shared and improved (#6923) 2019-10-10 14:03:49 +02:00
Bertrand Songis af60a3b787 Impossible to exit BIND mode with [Enter]
(and need to switch the radio off ...)
2019-08-20 10:43:33 +02:00
3djcandAndre Bernet af9fe7fb63 T12 to use 9x navigation + navigation refactoring (#6474)
* Move T12 to more suited 9x navigation

* Navigation refactoring

* Navigation refactoring continued

* Channels count in ACCESS mode fix (24 channels max)
2019-06-04 08:49:39 +02:00
Bertrand SongisandGitHub 670e101fa5 Bsongis/menus refactoring (#6463)
Menus refactoring
2019-05-29 16:04:09 +02:00
Bertrand Songis 6d4e908de0 Custom popup for receiver registration 2019-02-14 17:09:15 +01:00
Andre BernetandKilrah e85ad43821 Prevent page changes during value editing (#6124) 2018-09-18 10:54:54 +02:00
Bertrand Songis ea76998beb More AVR removal 2018-08-05 12:39:05 +02:00
Bertrand Songis 5eff34ce8a Navigation methods splitted to avoid a lot of #ifdef 2018-07-11 15:17:14 +02:00