受支持的接触点的限制。 [英] Limitation of supported touch points.

查看:100
本文介绍了受支持的接触点的限制。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好


我的应用程序(.NET 4.0 WPF)具有出色的性能。当有人触摸他/她手的所有表面时, 申请冻结了一会儿。不幸的是,我的触摸设备(21"多点触控)&bbsp b
不支持" FingerRecognition "。是否存在同时限制支持的触摸点的解决方案(如10)?


Mike

解决方案

< blockquote>


说:"不幸的是我的触摸设备(21"多点触控)不支持" FingerRecognition "我猜您正在使用W7和Surface SDK?


如果限制数量 触摸是你的目标,我猜你可以抓住事件处理程序以进行上一次触摸并构建一个捕获触摸列表。然后,一旦您的触摸计数达到最大值,您就可以忽略传入的触摸。


如果您进入该路径,则需要在触摸被移除时保持列表同步。 / p>

希望它掌握


serge


Hi,

I've got a serious situation with my own application (.NET 4.0 WPF) with performance. While someone is touching screen all surface of his/her hand,  an application is freezing for a moment. Unfortunately my touch device (21" multitouch) do not support "FingerRecognition". Is exist a solution to limitation of supported touch points at the same time (like 10) ?

Mike

解决方案

Hi,

By saying :"Unfortunately my touch device (21" multitouch) do not support "FingerRecognition" I guess you are working on W7 and Surface SDK?

If limiting the number of  touch is your goal, I guess you can catch the event handler for previous touch down and build out of this a list of capture touch. Then once your touch count has reach your max your simply ignore incoming touch.

If you go in that path, you will need to keep your list in synchrone as well when touch gets removed.

hope it helsp

serge


这篇关于受支持的接触点的限制。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆