pierr3 / TrackAudio

A next generation Audio-For-VATSIM ATC Client for macOS, Linux and Windows
Other
49 stars 11 forks source link

Add support for a 2nd PTT mapping #154

Closed neilenns closed 2 months ago

neilenns commented 3 months ago

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 of height to ensure long joystick key names don't wrap outside the button bounds:

image

pierr3 commented 3 months ago

I cave in, have you tested this?

neilenns commented 3 months ago

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.