x

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"

Use Mouse For Touch Breaks Touch/Swipe Input Order

I'm binding touch events like this. They work as expected. However if I enable "Use Mouse For Touch" in my project input settings. EGameKey::Swipe gets fired before EGameKey::Tap (IE_Pressed).

 BIND_1P_ACTION(InputHandler, EGameKey::Tap, IE_Pressed, &AElementalPlayerController::OnTapPressed);
     BIND_1P_ACTION(InputHandler, EGameKey::Hold, IE_Pressed, &AElementalPlayerController::OnHoldPressed);
     BIND_1P_ACTION(InputHandler, EGameKey::Hold, IE_Released, &AElementalPlayerController::OnHoldReleased);
     BIND_1P_ACTION(InputHandler, EGameKey::Swipe, IE_Pressed, &AElementalPlayerController::OnSwipeStarted);
     BIND_1P_ACTION(InputHandler, EGameKey::Swipe, IE_Repeat, &AElementalPlayerController::OnSwipeUpdate);
     BIND_1P_ACTION(InputHandler, EGameKey::Swipe, IE_Released, &AElementalPlayerController::OnSwipeReleased);
Product Version: Not Selected
Tags:
more ▼

asked Oct 15 '14 at 08:44 PM in Bug Reports

avatar image

DannRees
245 18 31 40

avatar image [Epic] Gribbs ♦♦ STAFF Oct 16 '14 at 04:51 PM

Howdy DannRees,

Thank you for reporting this issue that you have been seeing. Would you be able to attach your project log files and your Dxdiag to this post? Also, Would you be able to provide a step by step reproduction so that I may be able to see this issue occur internally?

Any additional information would be greatly appreciated.

Thanks and have a great day!

avatar image [Epic] Gribbs ♦♦ STAFF Oct 20 '14 at 05:34 PM

Hey DannRees,

Just wanted to check in with you and see if the issue you have been seeing is still occurring. If so, could you please attach the information asked for in the above comment.

Thanks and have a great day!

avatar image DannRees Oct 20 '14 at 06:14 PM

Hey there, sorry I've been super busy lately.

I've used the code from the Strategy game to detect touch and swipe input.I implemented this a fair few months back and it has always worked fine.

However now it "appears" that swipe is being called before tap. It occurs in the editor if "use mouse for touch" is enabled. And always occurs on a mobile device (Galaxy S5).

Though I suspect it may not be that swipe is being called first, but perhaps that the minimum swipe distance is too low? It does pick up on very very slight movement?

avatar image DannRees Oct 20 '14 at 06:19 PM

Also, I'm working on getting those files to you now. Can you please confirm the location of the log file you need? The most recent in /Saved/Logs ?

avatar image [Epic] Gribbs ♦♦ STAFF Oct 20 '14 at 06:30 PM

hey DannRees,

You are correct. That is the location of the logs that I would need.

Thanks!

avatar image DannRees Oct 20 '14 at 06:22 PM

link text

dxdiag.txt (78.5 kB)
avatar image DannRees Oct 20 '14 at 06:39 PM
elemental.log.txt (30.1 kB)
avatar image [Epic] Gribbs ♦♦ STAFF Oct 20 '14 at 08:00 PM

Hey DannRees,

I went ahead and placed Strategy Game on an S5 and I was unable to notice any significant errors with the device. Would there be anything in a blueprint that I may need to change? Swiping was very smooth and did not feel awkward.

Thanks and have a great day!

avatar image [Epic] Gribbs ♦♦ STAFF Oct 28 '14 at 09:59 PM

Howdy DannRess,

Just wanted to check in with and see if the issue is still occurring for you. please be sure to let me know when ever you get the chance.

Thanks and have a great day!

avatar image DannRees Oct 30 '14 at 11:02 PM

Hi,

The problem still occurs unfortunately. I've implemented a workaround for now.

I re-installed the latest Strategy Game example and as you said, it seems fine.Though the code I pulled was from an old version.

No idea why it's happening :(

avatar image [Epic] Gribbs ♦♦ STAFF Oct 31 '14 at 08:22 PM

Hey DannRess,

I wanted to check with you and see if it would be ok to resolve this issue since a workaround has been found. please be sure to let me know.

Thanks and have a great day!

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

1 answer: sort voted first

Hi DannRees,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

more ▼

answered Nov 05 '14 at 06:05 PM

avatar image

[Epic] Gribbs ♦♦ STAFF
11.8k 292 14 77

(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