Closed willysys closed 6 years ago
Minitouch is for touch events only. Keys are provided by STFService.apk.
On Thursday, 3 November 2016, willysys notifications@github.com wrote:
In minitouch can parse command like 'm
', but how home、 back、menu key work? I don't find any code in minitouch.c to handle those event. Those key event only can be handled by libevdev? Thanks for your help. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/openstf/minitouch/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB-_aOLohj779knAunRYShbHYBntrD3ks5q6aOJgaJpZM4KoHxq .
Thanks for you answer. But how does STFService.apk make keys work? Does STFService.apk install in phone? Thanks for your help.
Look at the source code and/or check how stf is using it.
You can also use 'adb shell input keyevent' if you don't care about latency too much.
On Thursday, 3 November 2016, willysys notifications@github.com wrote:
Thanks for you answer. But how does STFService.apk make keys work? Does STFService.apk install in phone? Thanks for your help.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/openstf/minitouch/issues/7#issuecomment-258097312, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB-_T86zAVQ0SWM3d47v446eMieXLHIks5q6as9gaJpZM4KoHxq .
ok ,Thank you very much.
In minitouch can parse command like 'm ', but how home、 back、menu key work? I don't find any code in minitouch.c to handle those event. Those key event only can be handled by libevdev?
Thanks for your help.