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?
Asked
Active
Viewed 2,460 times
10

Narendra Singh
- 3,990
- 5
- 37
- 78

Herr von Wurst
- 2,571
- 5
- 32
- 53
-
Why do you need to do this? – Raghav Sood Apr 06 '13 at 16:54
-
To make the game feel responsive. The threshold hinders the gameplay. – Herr von Wurst Apr 06 '13 at 16:55
-
Samsung Galaxy Tab 2. – Herr von Wurst Apr 12 '13 at 10:28
1 Answers
6
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. – Herr von Wurst Apr 23 '13 at 16:34