MT(Multi-Touch) Protocol (2)
来源:互联网 发布:js 时间戳定义 编辑:程序博客网 时间:2024/06/05 05:17
Some devices identify and/or track more contacts than they can report to the
driver. A driver for such a device should associate one type B slot with each
contact that is reported by the hardware.
一些设备可以识别或跟踪的接触比他们可以报告给驱动程序的接触更多。此类设备的驱动程序应该为每一个由硬件报告的接触关联一个B类型的slot。
Whenever the identity of the contact associated with a slot changes, the driver
should invalidate that slot by changing its ABS_MT_TRACKING_ID. If the hardware
signals that it is tracking more contacts than it is currently reporting, the driver should use a BTN_TOOL_*TAP event to inform userspace of the total number of contacts being tracked by the hardware at that moment.
只要关联到slot上的接触的标志改变,驱动程序就应该通过改变接触ABS_MT_TRACKING_ID来销毁此接触。如果硬件显示它正在跟踪的接触比当前正在报告的接触更多,驱动程序应该使用一个BTN_TOOL_*TAP事件去通知用户空间暂时所有的接触正在被硬件跟踪。
The driver should do this by explicitly sending the corresponding BTN_TOOL_*TAP
event and setting use_count to false when calling input_mt_report_pointer_emulation().The driver should only advertise as many slots as the hardware can report.
Userspace can detect that a driver can report more total contacts than slots
by noting that the largest supported BTN_TOOL_*TAP event is larger than the
total number of type B slots reported in the absinfo for the ABS_MT_SLOT axis.
当调用input_mt_report_pointer_emulation()函数时,驱动程序应该明确地发送相应的BTN_TOOL_*TAP事件和设置use_count为false。驱动程序应该只通知硬件可以报告的slot。用户空间可以检测到如下情况:
驱动程序可以通过指出最大支持的BTN_TOOL_*TAP事件比ABS_MT_SLOT轴的absinfo中报告的B类slot的总数还多来报告比slot更多的接触。
- MT(Multi-Touch) Protocol (2)
- Multi-touch (MT) Protocol
- Multi-touch (MT) Protocol
- Multi-touch (MT) Protocol
- Multi-touch (MT) Protocol 小结
- MT(Multi-Touch) Protocol (1)
- MT(Multi-Touch) Protocol (3)
- MT(Multi-Touch) Protocol (4)
- MT(Multi-Touch) Protocol (5)
- MT(Multi-Touch) Protocol (6)
- Multi-touch (MT) Protocol 小结
- Multi-touch (MT) Protocol 小结
- 内核中的多点触摸协议文档 Multi-touch (MT) Protocol
- 内核中的多点触摸协议文档 Multi-touch (MT) Protocol
- Android 多点触摸协议(Multi-touch Protocol)
- Multi Touch
- multi-touch
- Linux输入子系统:多点触控协议 -- multi-touch-protocol.txt
- 搜狗云输入法的安装和使用
- org.hibernate.hql.ast.QuerySyntaxException: **** is not mapped 异常总结
- 判断文件是否PE格式
- get提交时中文传值乱码的问题
- Android国际化资源 文件夹命名规范
- MT(Multi-Touch) Protocol (2)
- Exception starting filter struts2 java.lang.NullPointerException 解决方法!!!!
- android 打印内存信息
- 在Ubuntu上安装JDK 1.6
- Chrome 调试总是进入 Paused in debugger状态
- VC++6.0快捷键
- c++与java共用memcached的问题
- Eclipse的快捷键
- 通用代码高亮插件(SyntaxHighlighter)