mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
When triggering buttons on the virtual gamepad, the down and up events are sent on release. That's a leftover from the previous virtual gamepad which didn't allow to select the buttons easily. On the new virtual gamepad, the button choice is better so we can trigger a button down as soon as the finger is on it. This fixes a bug in some AGS games which missed the button press because the release was sent too soon. Fixes Trac#15444.