Might as well open this since the code's been done for a while. Do I wish it was longer-term more extensible to n PTT keys? Yes. Does it matter? Probably not.
This properly handles upgrading from prior versions to a new version, bringing along the previous PTT as PTT1 without having to define a PTT2. It also tweaks the button heights to min-height instead of height to ensure long joystick key names don't wrap outside the button bounds:
Yes, I was running it today when I realized I wanted my xbox controller to also have a PTT so I could use it while I was panning around the airport in tower view.
Fixes #142
Might as well open this since the code's been done for a while. Do I wish it was longer-term more extensible to n PTT keys? Yes. Does it matter? Probably not.
This properly handles upgrading from prior versions to a new version, bringing along the previous PTT as PTT1 without having to define a PTT2. It also tweaks the button heights to
min-height
instead ofheight
to ensure long joystick key names don't wrap outside the button bounds: