10

I am creating an Android game that uses touch input. I noticed that, when I put down a finger and move it, there is a threshold of a couple of pixels until the first MotionEvent.ACTION_MOVE is generated. What is the correct way of disabling this threshold filter?

3
  • Why do you need to do this? Apr 6, 2013 at 16:54
  • To make the game feel responsive. The threshold hinders the gameplay. Apr 6, 2013 at 16:55
  • Samsung Galaxy Tab 2. Apr 12, 2013 at 10:28

1 Answer 1

6
+50

It's called touch slop. And here's the same question already answered: Android ACTION_MOVE Threshold

1
  • hmm, not the answer i was hoping for, but it seems to be correct. Apr 23, 2013 at 16:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.