On Android, is there a way of adjusting the touch input sample rate?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t stop the system generating these events however you can selectively ignore some of the
ACTION_MOVEevents as you will see up to 60 per second each reporting the same co-ordinates.You may wish to only process these
ACTION_MOVEevents after a set time since the last event, or skip to every 5th or 10th event etc. You’ll have to experiment and see what works best for you.Just make sure you don’t skip
ACTION_UPor your application may get into a confused state with the touches.