* 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>
* Refactoring
* Fix current release id and process dlg events
* enh: Process updates dialog add select/deselect all components
* Change Expression to Pattern
* Add preference option to Companion to disable the 'Cannot open joystick, joystick disabled' popup warning when starting the simulator.
* Don't erase joystick settings if user opens preferences dialog while joystick is not connected.
Remove reference to "Ubuntu" font family for 'Radio Type' label in preferences dialog (generates warning on MacOS).
* Created tts_jp.cpp and added "TR_VOICE_JAPANESE" to the *.h file.
* Commented out once because the build did not work
* fix: Define `JP` as a TTS language,
- Fixes the undefined reference to `jpLanguagePack` error
- put things in alphabetical order as the comment suggests it should be
* chore: Add `JP` to Companion voice language list
---------
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
* 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>
* fix(cpn): Model print global and special functions
* fix(cpn): Model print sf/gf adjust gvar abbreviate further
* fix(cpn): Model print gf/sf move to table format
* fix(cpn): Model print gf housekeeping
* Add external module to hardware settings
* Use serial port aux1 rather than radio profile externalaccessmod
Move module conversion function from OpenTxFirmare to ModuleData
* Remove externalaccessmod from radio profile options
* Unnecessary CMake option HARDWARE_EXTERNAL_ACCESS_MOD removed.
---------
Co-authored-by: rotorman <risto.koiva@web.de>
* Simplify layouts code, use data driven layout definition.
Generate icon bitmap at runtime to account for screen orientation.
Move old layout png images to companion folder (still used in companion).
* Align buffer for bitmap.
* Use 'free' instead 'delete' for bitmap buffer to avoid failed build test.
* 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>