Topic: Variable declaration order ....
You use a "structure" to containerise the input and output variables.
Many of my projects use both internal, and EEPROM data, and it is hugely advantageous to create our own "struct"s for.
However, because it is almost impossible to keep these data structures aligned to the RemoteXY data structure, I find there is a huge amount of single element copying taking place, when we could easily copy structure to structure.
Would it be possible to declare an "index" number for the data elements, and to then populate the RemoteXY structure in numerical order so that we can guarantee their position in the structure, even when GUI changes are made.
In other words, these "index" values would declare the RemoteXY structure build, regardless of when elements were added, or removed.