<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[电阻屏反应速度查看]]></title><description><![CDATA[<p dir="auto">a40I怎么来查看电阻屏的反馈速度？是用getevent工具吗？还是其他的？</p>
]]></description><link>https://bbs.aw-ol.com/topic/4345/电阻屏反应速度查看</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 07:29:59 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/4345.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 07 Oct 2023 03:14:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 电阻屏反应速度查看 on Mon, 06 Nov 2023 06:34:11 GMT]]></title><description><![CDATA[<p dir="auto">尝试将android工具getevent移植到linux中，可以成功查看电阻屏的反馈速度。<br />
参考了 <a href="https://www.cnblogs.com/liangliangge/p/12921889.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.cnblogs.com/liangliangge/p/12921889.html</a> 中的办法<br />
工具的源码路径为：<code>android/system/core/toolbox/getevent.c</code><br />
其中源码中<code>getevent.c</code>文件中内容有修改<br />
由于头文件<code>input.h-labels.h</code>生成过程中涉及权限问题，直接新建了<code>input.h-labels.h</code>文件并复制黏贴了参考链接中的内容<br />
Makefile文件参考了 <code>lichee/buildroot-201611/target/user_rootfs_apps/cmd/subs</code> 下的工程里的Makefile</p>
<p dir="auto">用<code>getevent -lrt</code>命令输出时间戳、上报速率等，要计算事件之间的时间间隔，我们可以取两个连续事件的时间戳（括号内的数值）并计算它们之间的差值。这个时间戳的单位不太清楚。</p>
]]></description><link>https://bbs.aw-ol.com/post/19042</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/19042</guid><dc:creator><![CDATA[yanmingjian]]></dc:creator><pubDate>Mon, 06 Nov 2023 06:34:11 GMT</pubDate></item></channel></rss>