双鼠标输入 - 模拟多点触控
我一直认为这会很酷,现在操作系统技术似乎真的可以轻松实现-
是否有一种已知/简单的方法可以将双鼠标连接为支持多点触控的操作系统(例如 Win7)的输入,以及每只手各用一只来在屏幕上模拟两只手(或手指?)?这将使拉伸、旋转等操作变得容易,并模拟触摸屏上使用的许多手势。
我认为这对于某些类型的游戏以及许多艺术应用程序来说可能会很有趣。
Ive always thought this would be cool, and now the OS technology seems it could really make it easy to implement-
Is there a known/easy way to hook up dual mice as inputs to a multi-touch enabled OS, such as Win7, and use one in each hand to simulate two hands (or fingers?) on the screen? This would make it easy to stretch, rotate, etc and simulate a lot of the gestures used on touchscreens.
I think it might be alot of fun for certain kinds of games, and many artistic apps as well.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在Windows中,您可以使用DirectX 8+中包含的直接输入API来读取想要多少只老鼠。最简单的方法是获取多个 USB 鼠标并同时将它们连接起来。
此外,您不需要拥有任何 3D 视图即可利用 DirectInput,您可以从常规 Win32 或 .Net 应用程序访问 API。
例如,PC 游戏 Ricochet Infinity 允许两只鼠标作为其两人合作模式的输入。
In Windows, you can use the Direct Input API included in DirectX 8+ to read the independent input of as many mice as desired. Easiest way is to get ahold of several USB mice and connect them all at once.
Also, you don't need to have a 3D view whatsoever to take advantage of DirectInput, you can use access the API from a regular Win32 or .Net app.
For instance, the PC game Ricochet Infinity allows two mice as input for its two player co-op mode.
独立于平台的多鼠标输入解决方案是 http://www.icculus.org/manymouse/
就像发布的仅限 Windows 的解决方案一样,这仍然不允许您在 chrome 或 android 模拟器中进行多点触摸(尽管两者都应该相对简单地实现)等。
如果您想在其他人的软件中模拟多点触摸,事情有点棘手。
几乎任何非 Windows 系统都可以支持主界面的多个指针: http://en.wikipedia .org/wiki/Multi-Pointer_X
Chrome支持模拟触摸事件,不确定多点触摸
A platform independent solution is for multiple mouse input is http://www.icculus.org/manymouse/
Like the Windows-only solution posted, This still wont let you do multi-touch in chrome, or the android emulator (Though, both should be relatively simple to implement), etc.
If you want to simulate multi-touch in other peoples software, things are a little trickier.
Just about any non-windows system can support multiple pointers for the main interface: http://en.wikipedia.org/wiki/Multi-Pointer_X
Chrome supports simulating touch events, unsure on multi-touch
可以使用 Multi Touch Vista 模拟鼠标输入来触摸指针
it is possible to simulate mouse input to touches pointer with Multi Touch Vista