触摸板绝对坐标

触摸板绝对坐标

从前一段时间开始,synclient不再支持-m(监视器)选项(可用于从触摸板获取绝对坐标)。

我正在寻找一种良好的便携式方法来从触摸板获取绝对坐标,而不需要过时版本的synclient.有人知道这样的方法吗?

答案1

evtest命令能够提供此类信息。根据您的目标,看看它来源可能会有帮助。

还可以看看这次提交在突触驱动程序中:

Remove absolute mode

Moving a touchpad in absolute mode is unusual - touchpads are disconnected
from the output device, so direct interaction is hard. There appears to be
little usage of it (I haven't seen bug reports from people claiming to use
it). Joe Shaw, author of the code and only known user doesn't have a use
for it anymore, so purge it from the repo.

相关内容