This is a very important issue. The methods seem to be limited, but I found some pretty promising information about this blog: PocketMagic article . He is a developer at Google Code, and I have used some of his stuff in the past. So it looks like you can input kernel level mouse events through adb by writing to /dev/input/eventXXX , whereby X is each input method attached to the device. He created a library for interacting with the kernel, as well as an installable application that can solve all your needs. However, if you need a clean adb solution, you can probably check its code to find out the process of determining which alias to write and what its adb commands look like.
Good luck
source share