Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Touch events are fired twice when "Use mouse for touch" is on.

Hi! I'm making small demo-project for Windows 10 with multi-touch input support. I handle generic touch input events such as TouchPressed, TouchMoved and TouchReleased in custom PlayerController blueprint. Then based on these events some maths is performed and my custom Tap or Zoom events are fired.

Before now I used mouse as touch input device by enabling "Use mouse for touch" checkbox in project settings. And everything worked fine. Only one "Touch pressed" event with finger index "Touch 1" was fired when I clicked the screen.

But now I've tested my project with "Use mouse for touch" enabled on 46'' multi-touch monitor and have got strange results: there are two "Touch pressed" events are fired when I touch the screen and then two "Touch moved" events when I move my finger. First event has finger index "Touch 2" and second has "Touch 1" like the following:

Touch2 pressed at X=1133.200 Y=565.140 Touch2 moved to X=1125.700 Y=569.100 Touch1 pressed at X=1121.000 Y=569.000 Touch1 moved to X=1121.000 Y=569.000

Then I turned off "Use mouse for touch" setting and only one touch input is fired now. But it has "Touch 2" finger index. If I touch the screen with 2 or more fingers I get finger indices 2, 3, 4.. not starting from 1. I guess finger index 1 is "reserved" for mouse?

So, is it bug or feature?

Product Version: UE 4.15
more ▼

asked May 16 '17 at 05:57 PM in Bug Reports

avatar image

54 4 5 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hello plastik21,

After doing some digging it appears that this is a known issue. I have provided a link to the public tracker. Please feel free to use the link provided for future updates.

Link: https://issues.unrealengine.com/issue/UE-43213

Make it a great day

more ▼

answered May 17 '17 at 01:12 PM

avatar image

Rudy Q ♦♦ STAFF
47.5k 545 132 522

avatar image plastik21 May 17 '17 at 01:38 PM

Thanks for your answer. I saw this issue, and seems it's related to UI system. In my case I don't touch any UI elements, but static mesh object. However I use "Game And UI Input" mode (mb this can affect). And finally "double-touch" issue disappear when I turn off "Use mouse for touch" setting.

avatar image Rudy Q ♦♦ STAFF May 17 '17 at 01:52 PM

Thank you for your additional information however, the issue above still appears to be the same issue (with the concerns mentioned above, this issue still fits).

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question