input
小二哥m
这个作者很懒,什么都没留下…
展开
-
android input(二) InputDispatcher
唤醒InputDispatcher以Motion事件的分发过程来进行举例void InputDispatcher::notifyMotion(const NotifyMotionArgs* args) { //检查Motion事件的参数是否有效,对于motion事件,主要时校验触控点的数量与ID是否在合理范围 if (!validateMotionEvent(args->action, args->actionButton, args->poi原创 2020-06-16 21:57:42 · 4724 阅读 · 0 评论 -
android input(一) 初始化及InputReader流程
adb shell getevent –t 查看当前按下按键的值按下返回[1556162527.777123] /dev/input/event6: 0001 009e 00000001[1556162527.777123] /dev/input/event6: 0000 0000 00000000送开返回[1556162530.504152] /dev/input/event6: 00...原创 2019-06-12 09:51:40 · 1363 阅读 · 0 评论