的觸摸性能是否有QML或Qt的或C++辦法知道如果屏幕(或平臺)支持的觸覺,更具體地說,如果屏幕支持多點觸控檢測屏幕
這甚至可能嗎?
編輯:
在Windows上,似乎我們可以嘗試枚舉設備找到一個匹配 https://support.microsoft.com/en-us/kb/259695
這也應該可以在Linux上
相關:
What's the best way to detect a 'touch screen' device using JavaScript?
Is there a way to determine if the current screen supports touch?
謝謝,它適用於幾乎所有我可以測試的平臺。出於某種原因,即使觸摸屏可以接受1個觸摸點,但其中一個觸點返回最大觸點= 0。 – BlueMagma
請提交一份錯誤報告:bugreports.qt.io – Mitch