支持多个多点触控屏幕 [英] Support for Multiple Multi-Touch Screens

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

问题描述

你好,


我已经编写了一些实现多点触控的代码,只需一个多点触摸屏就可以正常工作。  然而,有人使用我的程序与2个多点触控屏幕连接是没有从第二个设备输入。  我没有
看到任何涉及多个多点触控设备的文档,尽管TOUCHINPUT结构中存在hSource意味着支持多个设备。  搜索论坛后,我发现这篇文章


http://social.msdn.microsoft.com/Forums/en-US/tabletandtouch/thread/9c11871d-945c-4f7b-bdaa-a1b1452959b8/


其中有人说2个多点触控显示器应该可以正常工作,但不能同时输入。  由于帖子差不多2年了,我想知道是否有任何改变,以及这可能是我的用户遇到的问题。  或者是
有一些方法可以判断它是否是驱动程序问题?  我没有使用手势库,只是使用GetTouchInputInfo检索数据。  如果有人能指出我的文档或提及他们使用多种设备的经验,我将不胜感激。


谢谢。

解决方案

问题不在于显示器不能同时工作,问题更可能是Windows Touch输入(或者手势)只能通过一个窗口接收。时间 尝试跨
触摸显示器跨越应用程序窗口:您应该看到来自两个设备的输入。


-Gus

~~~~~~~ 〜$ ~~~~~~~~
查看Facebook上的Windows开发人员粉丝专页:
http://facebook.com/windevs
和推特上的Windows开发者频道:
http://twitter.com/windevs


hello,

I have written some code that implements the multi-touch and it has been working fine with just one multi-touch screen.  However, someone using my program with 2 multi-touch screens hooked up is getting no input from the second device.  I did not see anything documentation referring to more than one multi-touch device, although the existence of hSource in the TOUCHINPUT structure would imply multiple devices are supported.  After searching the forums, I found this post

http://social.msdn.microsoft.com/Forums/en-US/tabletandtouch/thread/9c11871d-945c-4f7b-bdaa-a1b1452959b8/

in which someone stated that 2 multi-touch monitors should work fine, but not with simultaneous input.  Since the post is almost 2 years old, I am wondering if anything has changed, and whether this might be the problem my user is having.  Or is there some way to tell if it is a driver issue?  I am not using the gesture library, just retrieving data with GetTouchInputInfo.  I'll appreciate if anybody can point me to documentation or mention their experiences with multiple devices.

thank you.

解决方案

The issue is not that the monitors will not work simultaneously, the issue is more likely to be that Windows Touch input (or gestures for that matter) can only be received by one window at a time.  Try spanning the application Window across both touch monitors: you should see input from both devices.

-Gus
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Check out the Windows developers fan page on facebook: http://facebook.com/windevs and the Windows Developer channel on Twitter: http://twitter.com/windevs


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

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