【Arch】Android input系统之input命令
来源:互联网 发布:网络黑钱提现 编辑:程序博客网 时间:2024/06/05 03:53
1、简介
在Android input系统中,包括一个input命令,用于模拟input事件,通过keycode或字符串向设备发送key事件。
2、源码位置
frameworks/base/cmds/input/
3、结构
input命令实际上就是一个shell脚本,真正执行的是app_process命令,所用的Java类库为input.jar。从源码Input.java中可以看出,input事件来源包括keyboard、dpad、gamepad、touchscreen、mouse、stylus、trackball、touchpad、touchnavigation和joystick,具体分为KeyEvent和MotionEvent,核心控制类为InputManager,通过InputManager的injectInputEvent发送input事件。Input.java结构如下图所示。
阅读全文
1 0
- 【Arch】Android input系统之input命令
- android 命令之input
- Android之input系统流程
- Android之input系统流程
- Android之input系统流程
- Android之input系统流程
- Android之input系统流程
- Android之input系统流程
- android input 命令小结
- Android input命令
- Android Input 命令
- android shell 命令--- input
- android input 系统----1
- android input系统
- Android Input之JoyStick
- Android Input之JoyStick
- Android系统input系统(1)
- 怎么找到android系统input命令的实现代码
- 【FUTURE】麻省理工科技评论-年度10大突破性技术-导读
- Windows下TypeError numpy.float64 object cannot be interpreted as an index的解决
- 13.常用的函数
- 设计模式之策略模式
- java基础(二)
- 【Arch】Android input系统之input命令
- arm开发板上arecord 录音出现噪声的解决方法
- git 提交代码到github中(4)
- 图
- [AVC(H.264)] x264 ratecontrol小记
- 性能测试初探---接口性能测试
- SpringBoot系列之四全局配置
- POJ 1849 Two 笔记
- 银行家算法C++实现