Skip to content

GUI: Support for multi touch in _gui_input

Created by: NoFr1ends

Fixes #29525


Sends the released and drag touch events to the expected control. Drag events now goes to the underlying control or if a touch press before happened to that control. Released events now goes to the control which received the pressed event before.

Before the released event only reached _gui_input if it was from the first finger. And the drag events always reached the control with the first touch.

I also attached the small test project with which I tested the pressed & released events. TestMultiTouch.zip

Merge request reports

Loading