Commit Graph
33 Commits
Author SHA1 Message Date
ee73fa47f0 feat: Add "Enable" button to all SF/GF (#3024) (#3601)
Co-authored-by: eshifri <eshifri@hotmail.com>
Co-authored-by: philmoz <philmoz@users.noreply.github.com>
2023-12-03 12:23:34 +10:00
b22a1b5d32 feat: Support for WS2812 RGB LEDs (#3909)
Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
2023-10-14 14:06:55 +10:00
MichaelandGitHub d30499f19b feat: Add SF to mute audio amplifier on supported radios (#3753)
* SF Audio amplifier mute port to 2.10

* added missing definition STR_SF_DISABLE_AUDIO_AMP

* exclude radios not able to switch audio amp off

* radio/src/storage/yaml/yaml_datastructs_128x64.cpp needs to distinguish between radios with or without switchable audio amps. Expample Zorro vs X9lites

* updated companion and radio language PL

* - added Companion and radio language SE

- removed type unfinished for translated languages

* added radio and companion language JP

* - reverted change to 128x64 yaml_datastructs.h

- moved exclusion of SF DISABLE_AUDIO_AMP based on hw capabilities to UI level

* confused FUNC_ with FUNCTION_

* confused FUNCTION_* with FUNC_*
2023-09-14 19:33:03 +10:00
Neil HorneandGitHub ceba62650e fix(cpn): Application crash when editing radio settings (#3978) 2023-08-29 18:42:31 +10:00
Neil HorneandGitHub e46d00e7d0 fix(cpn): Only timers with active modes should be included in lists (#3956)
* disable timers with mode OFF

* fix isModeOff to reference mode not switch

* update model edit source lists when timer mode changed

* add timer mode test to reset function

* add timer mode test for Set and Reset functions

* change yaml special source TIMERx to Tmrx
2023-08-28 20:02:54 +10:00
philmozandGitHub 227780d784 feat: Add 'repeat' option to 'Lua Script' special function (#3338)
* 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.
2023-04-10 11:00:50 +10:00
Neil HorneandGitHub 9fa9a1f100 fix(cpn): Model print global and special functions (#3075)
* 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
2023-03-05 20:15:52 +10:00
4e49ac68be feat(colorlcd): Special Function to set main screen (#2160)
* Special Function to set main screen (#2135)

* chore: Add new SF to LUA constants list

* Companion support

* Formatting

* get rid of magic number

* Add function to get the number of custom screens

* Change screen numbering from 0-based to 1-based.

* Allow SetScreen custom function for Color LCD only

* add range protection

* cleanup

* yet, range protection once again

* fix: paintSpecialFunctionLine can't alter SF param data

* Fix screen initialization in companion

* move screen switching to the UI

* Trigger view change from guiMain()

* chore: Change "SET" to "Set" for consistency

* fix: Somehow missed extra comma in `TW`

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
2022-09-07 21:40:34 +10:00
elecpowerandRaphael Coeffic 0857c5d9ea Reduce future maintenance of source type special 2021-12-31 10:53:10 +01:00
c59f579bbe Add special function to disable the touch screen (#942)
* added a new special function to disable the touch screen

* Bump libopenui

* Don't try to disable touch if no hardware touch

* Disable processing of SF if no touch hardware

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-10-25 23:20:57 +11:00
elecpower 19add4de92 Remove some depreciated Rotary Encoder code 2021-03-04 08:47:21 +11:00
elecpower 227b225dea Consistency with radio 2021-03-04 08:22:45 +11:00
elecpower 6c3f7b1ca6 Consistency and statics 2021-03-04 07:59:24 +11:00
elecpower c78a784236 Compile and other tweaks 2021-03-03 23:35:31 +11:00
elecpower 6feb5a3ca9 Refactor reset param functions 2021-03-03 23:35:31 +11:00
elecpower 263d2854a7 Housekeeping 2021-03-03 07:24:43 +11:00
elecpower f0d4c88f03 Gvar adjust mode to item model 2021-03-02 23:17:21 +11:00
elecpower cb4ee1b30d Revert RepeatComboBox to standard ComboBox and add item model 2021-03-02 22:23:31 +11:00
elecpower e6e41f18d7 Add static models 2021-03-02 21:35:25 +11:00
elecpower d213034bfd Add item data models for action and reset param 2021-03-01 07:32:00 +11:00
elecpower d10b16d4c6 Dynamic ui data models continued 2020-12-20 14:25:25 +11:00
elecpower ca7ca82f01 Remove module choice from SF set failsafe 2020-12-11 08:11:19 +11:00
elecpower 5b49a3a295 Use firmware capability for functions reset list and upd refs 2020-10-26 07:48:05 +11:00
3djcandGitHub 6467b7245b Fix companion "Trainer" to "Trainer Sticks" to match radio (#7876) 2020-08-11 13:45:12 +02:00
DanielGeAandGitHub 035cc6c031 Brightness adjust from backlight function (#7680)
Adjust brightness from backlight function
2020-07-31 17:06:11 +02:00
DanielGeAandGitHub 5d4f6679e5 Remove Avr boards (#7713)
Remove AVR
2020-06-22 16:52:52 +02:00
Bertrand SongisandGitHub fe75834a80 Missing TrainerChannels in Companion (#7245) 2020-01-03 11:55:03 +01:00
Neil HorneandBertrand Songis 882e9638cc Fixes 5602 Special Functions Inc/Dec Gvar (#6442)
Fixes #5602 (2.3)
2019-06-01 15:30:07 +02:00
Bertrand Songis bdc9623ff7 Cosmetics 2019-05-10 15:30:09 +02:00
Bertrand Songis f32e9625c2 X3 EEPROM / simulator support added 2019-05-10 00:08:46 +02:00
Bertrand Songis 2c47883cc2 Companion GCC8 warnings removed 2018-08-05 19:33:28 +02:00
Max PapernoandBertrand Songis a951292f27 [Companion] Radio data translation/strings (#5554)
* [Companion] Add Qt tr() functions to all radio data classes instead of using generic QObject type.  (no functional changes)

* Small fix for gcc.

* Move more element name string generation to individual classes; settle on nameToString as function name.

* Also put firmware build options translations into Firmware scope.
2017-12-21 18:26:11 +01:00
Max PapernoandBertrand Songis 59a835b1b3 [Companion] Radio data refactoring (#5551)
* [Companion] Refactor radio data classes to own files, out of eeprominterface.cpp.  No functional changes.

* Move files related to refactoring. No functional or code changes.

* Fix clang warning and an include path.

* Fix indents on curvereference.cpp. [ci skip]
2017-12-20 13:31:43 +01:00