Announcement

Collapse
No announcement yet.

On Pressed button on Windows touchscreen only register for ~0.8 secs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    On Pressed button on Windows touchscreen only register for ~0.8 secs

    Hey guys, I got a problem which I don't know is it because of UE4 or Windows itself. I'm pretty sure the touchscreen is not the problem (at least for now) because I tested with other touchscreen model still got the same problem.

    Situation: I use touch screen to press button in my project. The button need to be pressed for >=1 second to trigger the action. I use OnPressed event from the button, then set timer. I tested this function using mouse and it WORKED perfectly. But when I try with touchscreen I got this problem.

    Problem: The OnPressed only register for ~0.8 secs only. It seems like the touch is automatically dis-register after ~0.8 secs which trigger the OnReleased event that will clear the timer. But, If I touch and drag my touch a bit on the button, the auto dis-register not occur.

    Setup: Windows 10, Unreal 4.17.2

    Blueprint:

    Click image for larger version

Name:	Touchscreen problem.PNG
Views:	31
Size:	255.5 KB
ID:	1413863

    Anyone have idea on this?

    #2
    Solved here, my mistake for not knowing this.
    https://answers.unrealengine.com/que...dows-touc.html

    Comment

    Working...
    X