mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 12:28:40 +00:00
Since #2205 a pad that lists an analog trigger axis had its L2/R2 keys ignored. Handhelds whose triggers can be switched to digital keep listing the axis but only send the keys in that mode, so the triggers stopped responding. A trigger key now presses its trigger when the axis is idle at that moment and holds it until the key is released; motion events with an idle axis keep it held. As soon as the axis reports a value it takes over again, so pads that send both (the #2205 case) still follow their analog axis and key repeats never change the value.