双鼠标输入 - 模拟多点触控

发布于 2024-10-15 18:43:38 字数 189 浏览 2 评论 0原文

我一直认为这会很酷,现在操作系统技术似乎真的可以轻松实现-

是否有一种已知/简单的方法可以将双鼠标连接为支持多点触控的操作系统(例如 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

笑叹一世浮沉 2024-10-22 18:43:39

在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.

開玄 2024-10-22 18:43:39

独立于平台的多鼠标输入解决方案是 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

初心 2024-10-22 18:43:39

可以使用 Multi Touch Vista 模拟鼠标输入来触摸指针

it is possible to simulate mouse input to touches pointer with Multi Touch Vista

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文