Add compile time option for xlite alt layout
This adds a compile time option to switch to an alternative layout for the FrSky X-Lite transmitters. It swaps joystick and dpad functions.
Original

New

Once we move to more generic drivers, this should be easily done at runtime (see #2631)
Just expanding on that a bit - one of our goals is to have as few as possible compile-time options / reducing the number that there currently are. Some are unavoidable, and that's fine. But while we still have the SRAM and FLASH space to do so, as much stuff as possible will be made a runtime option.
I'd love to see this as a runtime option!
@netmute Could you please rebase this PR on top of current main? As we're transitioning to defining keys in targets by means of a JSON hardware definition file, this PR will get hard to support as-is in the future. We might have to find some clever way for key remapping, but in the meantime, I could imagine having that merged soon once rebased. Just mark the PR as "Ready for review" once you're done.
@raphaelcoeffic Sorry it took more than a year, life happened 🙈
I'm definitely looking forward to this option becoming available for my xlite! The joystick has failed on mine and I'd really like to regain full functionality again. Thanks for the work you all put in towards helping out the community!
@raphaelcoeffic I'm hoping to implement this onto my Xlite in the near future. Could you provide an estimate on when this functionality will be available?