I encountered a problem when capturing the wheel event when using the touch mouse. The fact is that in a mouse with a wheel, the wheel is triggered when the threshold is switched (or whatever the scroll pitch is called), and in touch mice, everything is much sadder. Firstly, it is not necessary for the touch mouse to hold your finger on the touchpad so that it continues scrolling, that is, if you have played your finger on the touchpad, the wheel event will still work for a while (or even 7 seconds). All this is done as I understand it to mitigate the scroll for the convenient (pathetic) use of sensory mice.
I will say right away that I have a Microsoft mouse and that the duration of the triggering of the event itself can vary from the mouse itself and from the computer settings (already tested).
The essence of the question is as follows. How to catch or how to distinguish that the event worked at the moment when the finger on the touchpad, and these are not residual calls that the mouse throws out to soften the scroll.
Already tried to write a script to catch all events, the interval of which is 50 milliseconds, but in vain as if for some mice and settings it will ignore extra events for others, or not at all. So you shouldn't rely here for a while.
Maybe there is some property that stores data that will help distinguish a normal wheel from a pseudo wheel.