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?
-
Why do you need to do this?– Raghav SoodApr 6, 2013 at 16:54
-
To make the game feel responsive. The threshold hinders the gameplay.– Herr von WurstApr 6, 2013 at 16:55
-
Samsung Galaxy Tab 2.– Herr von WurstApr 12, 2013 at 10:28
Add a comment
|
1 Answer
It's called touch slop. And here's the same question already answered: Android ACTION_MOVE Threshold
-
hmm, not the answer i was hoping for, but it seems to be correct. Apr 23, 2013 at 16:34