我有一个登录应用程序,它有一个刷卡系统,人们只有在有触摸屏时才能使用.他们可以通过刷他们的个人模式滑动代码登录.
如果用户有触摸屏,是否可以签入C#或WPF?即使他当时没有使用触控功能?
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?