* chore(pc): convert simu/simulator/companion to use SDL2
* switch companion builds to SDL2 - OSX is not converted
the linux change is done a bit hacky, it should be done by updating the EdgeTX docker container
* update build system setup scripts
* add compatibility for old and new SDL2 cmake integration
* fix windows installer
* fix simulator audio on windows by using DirectSound vie SDL2
* fix windows audio with SDL2
enable simu for windows builds
* remove workflow changes for linux builds, this needs to be fixed in the build environment
* fix OSX build, thx @pafleraf
* fix windows audio for companion and simulator with SDL2
* select SDL2 branch of the build-docker environment
* Revert "select SDL2 branch of the build-docker environment"
This reverts commit da801609d78e1aed513ad7d9d8ab3ebded2900b9.
* fix tests with SDL2
* Adds option to align value widget label and value to left, center or right border of the widget zone.
* Cpn sync
* Typofix thx to @Eldenroot
* fix: Add `TW` translation
* fix: Two spaces for indent
---------
Co-authored-by: elecpower <neilh713@tpg.com.au>
* fix: sort mixer lines after loading model
Fixes#2806
* fix(cpn): sort mixer lines after loading model
* More efficient swap
---------
Co-authored-by: elecpower <neilh713@tpg.com.au>
* A few additions and minor changes
* Minor changes
* Added timer string for PR #3173
* Missing save and delete theme
Added missing strings for Save theme and Delete theme
* feat(cpn): Initial Radiomaster Boxer support
* fix(build): Halt if invalid simulator plugin specified
* fix: 6POS not correctly defined
* chore: Less EEPROM stuff needed
* Start of simulator support
* Enable left buttons and fix area mapping of page up and down
* fix(cpn): Internal reference to pots
---------
Co-authored-by: elecpower <neilh713@tpg.com.au>
* Updated translations, error fixes etc
* Minor changes
* Minor updates
* Update for PR #2998
* Added strings for PR #2998
* Minor error fix
* Two new strings translated
* Fixed spelling mistake
* Another minor fix
* Added translations for PR #3062
* Just a few corrections
* Add files via upload
New translations added
* Changes after PR #3119 translation clean up
PR #2995 didn't take into account the data model storage actually does change when you change a variable name.
Boxer yaml generation was missed in earlier PR.
* chore: Run `generate-yaml.sh`
* chore(cpn): carryTrim -> trimSource
* fix(build): Boxer missing from `generate-yaml`
* dodgy attempt to read old carryTrim
* fix: Don't break the byte boundary + reorder
* fix(yaml): indentation for attributes that should not be output
* chore: Regenerate YAML after rebase
---------
Co-authored-by: raphaelcoeffic <raphael.coeffic@frafos.com>
* Fix error in value conversion when loading logical switch data from YAML files (for 'Edge' and 'Timer' functions).
* Remove debug print.
* Fix handling of telemetry sensors in Companion.
* Fix rebase merge issue.
* Incorporate solution from @ParkerEde in PR #2626
* Fix selection logic for models.
* Select model on first press.
* Fix quick model selection when using scroll wheel & enter button.
Add setting to enable quick model selection.
* German translation.
* Fix behaviour when 'model quick select' is off to work like existing 2.8 logic.
* Add translations.
* Prioritise active model as selected model when the set of visible models changes.
* Fix selection ordering when using scroll wheel.
Minor code cleanup.
* chore(cpn): Run Qt Linguist updater
* Fix translation errors
* fix: Reference all available translations
* Add Chinese to available radio voice languages
* fix(cpn): Add missing voice languages to firmwares
* Add translation to analogs
Co-authored-by: elecpower <neilh713@tpg.com.au>
The YamlStickConfig definition was defined and sized with CPN_MAX_SWITCHES (32) instead of CPN_MAX_STICKS (4).
When loading radio.yml this would overwrite 112 bytes past the end of the stickName array in the GeneralSettings class.
* Fix 2POS switch logic in simulator. Recent change for 6POS switch broke the 2POS switches.
* Rework switch and pot controls in the simulator ensure consistent values, avoid extraneous events in Qt and, hopefully, simplify the code.
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
* Fix for issue #2827.
Ensure consistent values for the TX16, 6 position switch, in the simulator.
* Adjust 'value' to achieve alignment of raw values to step positions.
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>