Python Forum

Full Version: Wonky Touch Events
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey everyone,

I have a PyQt application that runs great on Windows (and another version that runs on Linux). I'm working on a Windows 10 touch-screen version of it, and I'm finding that the touch events are really wonky. When I touch the screen and hold it, it triggers press & release events in rapid succession. Sometimes multiple times. To capture the touch begin/end events, I used the "event filter" code in this link: https://gist.github.com/stevenliebregt/8...650a11914f

I don't think it's the PC or the OS -- I don't see this behavior in other applications, just my PyQt app. I'm not sure where to go from here or how to go about debugging this. I've scoured the googles and nothing comes up.

Nevermind .. I think it's something other than just python. I'm seeing a similar problem with a .NET application.
Okay without actually looking at it what you are describing is the same thing as someone multi-clicking a button over and over again

You actually have to code against that if that is not something you want to have happen by using a flag in conjunction with a timer perhaps all depending on the end result you are attempting to achieve
As Denni said override controls also I would use kivy if you req touch controls, they implemented whole starting kit