我想使用 QT 基于 arm-linux 系统开发自己的应用程序。我希望我的应用程序支持多点触控功能。我想知道这是否可能。如果是这样,请告诉我应该使用哪个版本的 Linux 内核。
2 回答
Linux started supporting Microsoft's Multi-touch protocol from kernel 3.8 onwards. The reference is here:
https://www.kernel.org/doc/Documentation/input/multi-touch-protocol.txt
Addendum
http://www.ptrackapp.com/apclassys-notes/embedded-linux-multitouch/
has arm multi-touch tutorial for iPhones but it applies equally to Android.
The hid-multitouch in linux supports a whole bunch of panels:
See
http://lxr.free-electrons.com/source/drivers/hid/hid-multitouch.c
for details
Addendum 2
Multi touch support has been somewhat there since 2.6 Ubuntu had multi touch support in its distribution in 2010.
Microsoft Multi-touch protocol support started in 3.8. Chrome OS support started in kernel v3.9. X.org server had multi touch support built into it in 2011.
运行命令:
chromium --enable-pinch
对于上下文菜单
创建快捷方式应用程序(.desktop)
/home/"your user"/.local/share/applications
或者
支持所有应用程序
搜索:
多点触控compiz插件