* Preliminary trims as keys for lua
Largely based on open-flysky implementation
* Add `isLuaStandaloneRunning()`
* Add more virtual events
* Tweak virtual events further
* Finish remapping keys to virtual events
* Move some virtuals to right trim hat
* Add missing "defined"
* Revert to common EVT_VIRTUAL_MENU mapping
* Make keys/trims reset backlight like other radios
* [nv14] Add crash causing missing curveDataEdit
* Allow horizontal touch sliding
Thanks for catching this @kevinkoenig
* Prevent hori scroll where it shouldn't scroll
Why `model_inputs` scrolls is still a mystery, but it behaves now
* DRY is in effect
* Make img buf only size of img not whole widget
* Don't draw buffer if there's no image
* If there's no image, draw model name
* Add some options, draw model name if img not set
Add options for text colour, size, fill enable and colour
* Use valid values for defaults
* Get right colours
* Add concept of a 'friendly name to widgets'
Allows for separation of internal and user visible names
* Use new theme constants
* Use right version of libopenui
* `displayName` instead of `friendlyName`
* Allow using theme colour or custom for name
SBUS period wasn't functional before. It was using the ppm.framelength, both in color and B/W.
Reduced maximum period to 32.5ms as it overflows the unsigned 16bit int otherwise
Tested with scope, color only.
Please note that this requires the S.PORT connection to the internal ISRM to be cut, as it would otherwise be pulled low by the ISRM (without using it otherwise).
* 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>
* Force BitmapBuffer format for widget ModelBmp and the file viewer
This patch run with the patch fix-transpareny in libopenui
* Bump libopenui
Co-authored-by: Runsys16 <rene.negre@orange.com>
* Removed all "Basic color definitions" except BLACK and WHITE in colors.h
Please ref. discussion on Discord: https://discord.com/channels/839849772864503828/839856795781431317/895858311579181066
* Removed theme color from the bootloader and replaced by RGB() like for e.g. green.
* Wrong color in Value widget default background color; should be white, not black
Otherwise interrupts with a logical priority lower than configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY are masked after the first call to xTaskResumeAll() (after the first critical section is entered, and never released).
* Fix widget timer.
Modifie getStrString() for using hms
* Timer over blink with COLOR_THEME_WARNING
Timer unit in uppercase
* Use lowercase unit with small timer display, use uppercase unit in large
display
* Auto formatting
Co-authored-by: Runsys16 <rene.negre@orange.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
* Fixed a bug where a standalone Lua script w/o a run function will hang the GUI on non-color radios
* Prevent Lua standalone window from opening if Lua failed on load
* Fixed scroll down key in TX12 simulator
Copied key definitions from TX16S
* Fixed the Lua error trying to call nil value when no scripts are loaded.
* I messed up in the previous commit; now it does not freeze and it does not call nil.
* Port from NV14 repository
* Fix altimeter
* Change AFHDS2A default mode to PWM and iBUS
* Fix datacopy.cpp generation for NV14 Windows build
* Cleanup
* Format
* typo fix
* Sngl for alarm and temperature sensor
* remove temperature sensor