以编程方式启用多点触控支持?

发布于 2024-08-10 05:27:01 字数 449 浏览 2 评论 0原文

我的笔记本电脑上运行的是Windows7,一切都很好,但我嫉妒Mac上的多点触控。我真的不知道这一切是如何“工作”的,但我想象编写一个程序来修补 Windows 并允许这样做不会那么困难。

目前,如果我将两根手指放在键盘上并四处拖动,它就会半心半意地尝试跟随这两个手指。或者什么。真是可怜啊。经过长时间的实验,我认为它无法真正同时跟踪两个点。但也许我可以检测到当我以数学方式放下第二根手指时发生的摸索,然后“释放”对其中一根手指的跟踪。

基本上,我并不是在尝试真正的多点触控(例如拉伸图像),但我觉得我应该能够将双击检测为右键单击的东西组合在一起。这是朝着正确方向迈出的一步。

我需要写什么?我该如何安装它?

如果你想说这是不可能的,那就忽略它并从另一个方向来看。如果我想启用三次点击作为右键单击该怎么办? (请不要预先构建第 3 方解决方案,我想自己编写这个)这当然是可能的。

我如何利用我需要的资源?

I am running windows7 on my laptop, and all is well, but I am jealous of the multitouch on macs. I don't really know how all of this "works", but i'm imagining that it couldn't be that hard to write a program to patch into windows that allows this.

Currently, if I put two fingers on the pad and drag around, it sortv half-heartedly tries to follow both. Or something. It's pitiful. After extended experimentation, I don't think it can really track both points at once. But perhaps I could detect the fumbling that occurs when I put my second finger down mathematically, and then "release" tracking on one of them.

Basically, I'm not trying for true multitouch (like stretching images), but I feel like I ought to be able to get something together that detects a double press as a right click. That's a step in the right direction.

What would I need to write that in? How would I install it?

If you're going to say it's impossible, then ignore that and take it from another direction. What if I wanted to enable a triple tap as a right click? (please no pre-built 3rd party solutions, I want to write this myself) That's certainly got to be possible.

How do I tap in to the resources I need?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

轻拂→两袖风尘 2024-08-17 05:27:01

这可能是硬件和/或驱动程序限制。并非所有触摸表面(如触控板)都支持多点触控。
您可能需要查看 msdn 支持替代输入法。

编辑:

请注意,原始输入 API 仅在您的硬件支持时才提供对多点触控的访问。

This might be a hardware and or driver limitation. Not all touch surfaces (like trackpads) support multitouch.
You might want to check out Raw Input on msdn which supports alternative input methods.

Edit:

Note that the Raw Input API only provides access to multitouch if its supported by your hardware.

生死何惧 2024-08-17 05:27:01

这是不可能的,这是在 www.insanelymac.com 论坛上讨论的,人们在那里创建 hackintosh 电脑(基本上是运行 mac osx 的电脑)。已经进行了多次尝试,但由于许多触摸板收集感官数据的结构和方法,这是不可能的。祝你好运...

This is not possible, this is discussed on the www.insanelymac.com forum, where people create hackintosh pcs (basically pcs running mac osx). Several attempts have been made, but DUE to the construction and METHOD with which MANY touchpads collect sensory data it is impossible. Best of luck...

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