Author Topic: Touch events are unresponsive  (Read 481 times)

EE_Kraig

  • Newbie
  • *
  • Posts: 37
    • View Profile
Touch events are unresponsive
« on: September 14, 2018, 01:10:22 PM »
I'm using ModbusTCP with a touchscreen computer running Win10. When I touch a button sometimes it takes 2-3 presses before it responds. When using a mouse it works every time. It feels like main GUI thread blocking so I changed to a DataSubscriber model, it didn't make any difference. I thought it was a windows bug but I have a few other apps on other machines (not talking to a PLC) and they work fine.

Anything I can try to narrow down the problem?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5269
    • View Profile
    • AdvancedHMI
Re: Touch events are unresponsive
« Reply #1 on: September 14, 2018, 04:03:49 PM »
The application doesn't know the difference between a touch screen click or a mouse click. The difference is how the driver an windows processes it. The default windows touch screen driver for Win10 interprets gestures, so if you slightly move while pressed it will not treat it as a mouse click, but instead as a scroll. if you are using the default driver, it may be necessary to install the driver from the manufacturer of the touch screen.