Commit Graph
17999 Commits
Author SHA1 Message Date
Peter FeerickandPeter Feerick 3c725dda35 Fix lines missed in #1117 2021-12-01 10:41:57 +10:00
Peter FeerickandPeter Feerick a87a484780 [B&W] Don't add entries for non-existant rows
BACKUP_EEPROM & FACTORY_RESET
2021-12-01 10:41:57 +10:00
Peter Feerick 316e18f800 Bump libopenui (non-touch compile bug) 2021-11-30 22:19:40 +10:00
Peter Feerick 2bdf1ff600 [libopenui ] Fix enable/disable popup menu filters
Can now enable and disable filters in popup menus (i.e. source, switch)
Active filter is now also highlighted
Use page keys to scroll through filters if no touch
Resolves #228
2021-11-30 21:19:01 +10:00
Peter FeerickandPeter Feerick d3f35e8334 Use theme colours on shutdown screen
Uses COLOR_THEME_PRIMARY2 and COLOR_THEME_SECONDARY1
 (i.e. the topbar icon and background colours) unless default theme.
2021-11-29 12:01:47 +10:00
Peter FeerickandPeter Feerick 765750b34b Add isDefaultTheme() to ThemePersistance 2021-11-29 12:01:47 +10:00
Peter FeerickandPeter Feerick 9401e00253 Add missing newline at EOF 2021-11-29 12:00:50 +10:00
jfrickmannandPeter Feerick 81cb94a4bf Added string constants to the read-only tables in Lua 2021-11-29 12:00:50 +10:00
Jesper FrickmannandGitHub a09e318e64 [Lua] Add setStickySwitch and getLogicalSwitchValue (#1056)
[Lua] Add setStickySwitch and getLogicalSwitchValue (#1056)
* Adds setStickySwitch to set the value of a stick logical switch
* Adds getLogicalSwitchValue to get the value of a logical switch by index
2021-11-29 12:48:01 +11:00
Malte LangermannandGitHub 15233e1add Fix sliding on inactive part of tab bar grabbing input focus (#1180)
* fix #298, keys not working, after sliding on tabs bar

* fix for touch end event with start x,y coordinate is triggered after the last slide event

* remove selecting tabs on the tab top bar by sliding as it does break sliding the tab bar.
2021-11-29 12:07:22 +11:00
Raphael CoefficandPeter Feerick b8335b994f Make list of supported internal module configurable per cmake option
Resolves #1159
2021-11-29 09:00:59 +10:00
Raphael Coeffic eabb20a9ad Fixed type in SensorSourceChoice 2021-11-28 12:59:38 +01:00
Raphael CoefficandPeter Feerick 20a24f265e Add support for FLEX on color targets 2021-11-28 21:03:59 +10:00
Raphael CoefficandPeter Feerick dc102f7d03 Remove FLEX options (and make it default) 2021-11-28 21:03:59 +10:00
rotormanandRisto 58d15c11ab Do not list EX3 and EX4 if FlySky gimbals are not detected.
Tested on two RM TX16S - one with FlySky Paladin EV gimbals, other with analog gimbals.
EX3 and EX4 are listed under SYSTEM -> Hardware -> Pots only, when FlySky gimbals are detected.

Please do not spoil the surprise, by discussing the other changes of this commit in public before the date.
2021-11-28 09:59:09 +01:00
Malte LangermannandGitHub 9a5663e611 Fix colorlcd auto power off on cleared shutdown warning trigger (#1164) 2021-11-28 12:39:40 +11:00
jfrickmannandPeter Feerick 229c59dae3 Removed the call to update() when widget leaves fullscreen mode 2021-11-28 11:38:36 +10:00
Raphael CoefficandPeter Feerick 66932626d5 YaML: escape exclamation marks to avoid issues with compliant parsers
and added some support for reading such escaped characters.
2021-11-28 11:31:47 +10:00
Risto 1103a3c842 Bluetooth trainer byte parsing: catch XOR state errors
In XOR state only 0x7E ^ 0x20 = 0x5E or 0x7D ^ 0x20 = 0x5D are expected.
Copy of my https://github.com/opentx/opentx/pull/8427
2021-11-27 16:26:43 +01:00
Raphael Coeffic 2c845648cf Fixed trimming spaces in editName() on stdlcd 2021-11-27 14:59:45 +01:00
Raphael Coeffic 482de830b1 X9D: Fixed simu crash when simulated EEPROM is not started. 2021-11-27 14:28:29 +01:00
Raphael Coeffic 453e478de6 Ported trainer output to IRQ driven mode
Next period is loaded after CCR2 expires (PPM delay).

Resolves #766
2021-11-27 12:34:01 +01:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
67708725bd Fix GF focus issue, add channel bars to mixes edit screen, also #482 (#1074)
* fix issues:
#303
#307
#482

* move channel output display to top.  make it a multi channel bar.

* changed channel bar colors so they work in the mixer screen.  I dont like the choices of colors, but let me know what you think.

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-11-27 21:27:08 +11:00
f97e3e77d5 [LUA] Use COLOR_THEME_PRIMARY1 as a default color (text, shapes, etc) (#1148)
* Use COLOR_THEME_PRIMARY1 as a default lua script color

* second attempt

* redefine DEFAULT as PRIMARY1

* Fixed default lua foreground color

* Revert formatting since file not changed

* Format whole file

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-11-27 20:58:36 +11:00
jfrickmannandPeter Feerick d4b8717575 Added zone.absx and zone.absy to give position of a Lua widget on the screen 2021-11-27 18:18:44 +10:00
Raphael CoefficandRaphael Coeffic da36a56dff Fix reading second delay for single digit (< 1s) 2021-11-27 08:48:34 +01:00
Raphael CoefficandGitHub 603e5d2646 Merge pull request #1160 from EdgeTX/fix-yaml-gvars
Fix YAML for all GVAR adjustements custom functions
2021-11-27 00:28:52 +01:00
Peter FeerickandPeter Feerick 8a77be2328 AUDIO_HELLO before doSplash() 2021-11-27 08:46:47 +10:00
Peter FeerickandPeter Feerick 017ece4caf Play hello wav before SF and switch checks 2021-11-27 08:46:47 +10:00
Raphael Coeffic 521996df4a Fixed X10 conversion tests 2021-11-26 18:00:50 +01:00
Raphael Coeffic 06c04c852a Use symbolic indexes for calibration data
Resolves #1083
2021-11-26 17:31:57 +01:00
Raphael Coeffic 5d5ceb4d88 Fix SET_TIMER function
Resolves #1130
2021-11-26 13:28:40 +01:00
Peter Feerick 95f853f54e [libopenui] Fix touch slide intertia
Thanks @gagarinlg!
2021-11-26 20:38:53 +10:00
Raphael Coeffic 9a0c65cf04 Fix YAML for all GVAR adjustements custom functions 2021-11-26 08:55:06 +01:00
eshifriandGitHub 907f7306e7 SF Override - fix enable state not working (#1156) 2021-11-26 11:17:05 +11:00
eshifriandGitHub fdb168a999 SF Override - fix extended limits not working (#1149)
* fix SF override limts #1145

* Cleaner fix for extended limits in SF override
2021-11-26 11:10:11 +11:00
Raphael CoefficandRaphael Coeffic d775e75e81 Patched all conversion tests 2021-11-25 12:10:16 +01:00
Raphael CoefficandRaphael Coeffic 27c0eaf05d Use loadRadioSettings() as it is sets the default module in g_eeGeneral 2021-11-25 12:10:16 +01:00
Raphael CoefficandRaphael Coeffic 718b3ec8ec Fix compiling PXX2 without external module 2021-11-25 12:10:16 +01:00
Raphael CoefficandRaphael Coeffic 04afb867a0 Fix CMake for empty PCBREV 2021-11-25 12:10:16 +01:00
Raphael CoefficandRaphael Coeffic 18401a1cbe Fix NV14 2021-11-25 12:10:16 +01:00
Raphael CoefficandRaphael Coeffic daf8bae8e4 Added support for internal module config in stdlcd UI in radio hardware 2021-11-25 12:10:16 +01:00
Raphael CoefficandRaphael Coeffic 0c305f4237 X9D+ and QX7 ACCESS cannot support swapped internal modules 2021-11-25 12:10:16 +01:00
Raphael CoefficandRaphael Coeffic e440038968 Added support for any supported internal module in 128x64 UI 2021-11-25 12:10:16 +01:00
Raphael CoefficandRaphael Coeffic ae552bd6fd WiP: support internal module as a hardware setting 2021-11-25 12:10:16 +01:00
Peter FeerickandPeter Feerick b3cbf73aa0 Enable lua table for colorlcd, not just horus 2021-11-25 11:18:33 +10:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
6e63d2874b Theme Editor: Delay initial image load for 500ms to make UI more responsive (#1143)
Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-11-25 12:17:33 +11:00
Peter FeerickandGitHub a05cc887b9 Add touch to Standalone Lua scripts (#1082)
Touch events to Standalone Lua scripts
2021-11-25 10:49:44 +10:00
Peter FeerickandGitHub 362a8e435f Add filename to lua model.getInfo() (#1132)
* Add filename to lua `model.getInfo()`

* Make `getModelNumberStr()` globally available

* Move variable extern

* Move constexpr to header, remove externs

* Perhaps .cpp should include its OWN header
2021-11-25 10:38:51 +11:00
Peter Feerick 78fc55c06d Fix unthemed text 2021-11-23 21:05:18 +10:00