Rotary encoder additional invert options for B&W screens (replacement)#2045
Rotary encoder additional invert options for B&W screens (replacement)#2045pfeerick merged 13 commits intoEdgeTX:mainfrom
Conversation
gagarinlg
left a comment
There was a problem hiding this comment.
All the whitespace removel changes are nice as they clean up the files, but they really clutter this PR.
c15de55 to
45889e6
Compare
|
Companion side looks okay |
|
@elecpower Damn ... did you have your psychic hat on? That question was going to be asked soon... 😆 |
- Remove references to invertRotary, change to RotEncDir or similar - Add compatabilty importing to companion, firmware - Rename Lua API call - Move magic numbers to enum - Improve B&W option handling so it doesn't apply changes while in menu
c772199 to
199c77a
Compare
Of the three X9D variants, the X9D+2019 is the only one that has a rotary encoder as standard. However, as the base config file is for the X9D, this meant it wasn't reading or writing the config value. Rather than add a seperate config file for it for a single variable, simple to just allow it across all targets.
71d7f13 to
79135e4
Compare
|
Whoops... just missed the nightly window... looks like this is ready to merge though. Just a last minute string change and changing the UI on colorlcd so that it is a choice there also (which while not only consistent with other radios and companion, but also means it's ready if more options are added on the colorlcd side also). Have tested this on Zorro, X9D+2019, X9D+, TX12 and TX16S, syncing most if not all radios with Companion (read/write) and also Simulator. Time for others to find any bugs ;) |
|
Thanks for finishing this off, easier for you than me having to work out all the changes since last time I looked at it. Just need to sort out the Telemetry button now so it does more than just turn on the telemetry page ( (assuming not already done). |
|
I don't think there's been any change there, so all yours ;) |
Replacement for damaged PR #1826.
Adds 2 additional rotary encoder invert options for B&W screens changing behaviour of menu navigation including popup menus. Not used for colour screens due to different navigation method.
Rotary Invert setting changed from Check box to Combo with Normal, Inverted, V-N, V-A where:
Normal = vertical and horizontal "normal"
Inverted = vertical and horizontal inverted
V-N = vertical movement inverted (Normal), horizontal row movement behaviour unchanged (always cycles through all settings in rows)
V-A = vertical movement inverted (Alternative), horizontal row movement behaviour changed so left scroll moves selection directly down LH settings without cycling through multiple settings in rows. Movement along rows of settings only happens when right scrolling, moving up a row when scrolling beyond last setting in row.
LUA API function added providing rotary encoder inverted status.
Sim tested OK on X9D+ 2019, ZORRO, TX16S, TPRO, T18, TX12, T12. QX7 ACCESS, X10 EXPRESS. Fully tested on ZORRO radio.