Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable the move threshold when getting touch events?

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?

like image 912
Herr von Wurst Avatar asked Apr 06 '13 16:04

Herr von Wurst


1 Answers

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

like image 119
aragaer Avatar answered Nov 15 '22 04:11

aragaer