I am developing an eye-tracking application that moves a mouse pointer based on the coordinates of the eyes. I successfully detected the coordinates of the eyes but wasn't able to create a mouse pointer that moves accordingly. I am a beginner in Android development and I am really stuck at this point. to clarify my question I need the pointer to move like on eva facial mouse except using the eyes coordinates instead of the faces.
Asked
Active
Viewed 972 times
1 Answers
0
I don't believe we have any APIs to move the mouse. The Eva site mentions that it moves a pointer "like a mouse".
I suspect what they are doing is drawing a pointer on an accessibility overlay, and then using AccessibilityService#dispatchGesture to simulate the user touching the screen.

Phil Weaver
- 738
- 3
- 7