* 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
* minor changes to touch and slide processing. set event to TE_NONE so you don't continuously get touch end events.
also make sure you get touchEnd if you slid but there is no sliding window (e.g. no scroll happened)
* revert slide operations back to their original state
* fix merge issue
* one more try and it should be right now
Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
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.