SDL_FINGERDOWN problem. Help me!

Hi!, I have a problem with SDL_FINGERDOWN in Linux(Ubuntu 20.04) and SDL version 2.0.10, it generates two events, one for the mousse and the other one for the finger touch, It only should generate one finger touch, I don’t know why mouse event too. Has anyone had the same problem? Thank you very much!

It is normal for a touch (tap) to simulate a left mouse click; it is really useful in enabling programs to work with a touchscreen even if they were not originally written to support that interface. Many of my programs rely on that functionality.

You can disable this behavior using:


or equivalently: