USB鼠标自定义驱动

发布于 2024-09-15 10:12:51 字数 118 浏览 3 评论 0原文

有没有办法为 Windows 创建 USB 鼠标驱动程序?我希望能够插入两个鼠标(或者可能是 3 个或 4 个),并为我正在开发的应用程序解释它的移动和按键,在某种程度上 Windows 甚至不知道插入的不仅仅是一个鼠标。

Is there a way I can create a USB Mouse driver for windows? I want to be able to plug in two mouses (or maybe 3, or 4) and interpret it's movement's and keypresses for an application I'm developing, in a way Windows won't even know there is more than a mouse plugged in.

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

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

发布评论

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

评论(2

暗喜 2024-09-22 10:12:51

Windows XP 或更高版本应支持使用原始输入的多个鼠标: http://www.jstookey.com/arcade /rawmouse/

您的应用程序将需要一些代码来绘制和处理其多个指针,但编写自定义鼠标驱动程序对我来说似乎要困难得多......

Windows XP or newer should support multiple mice using Raw Input: http://www.jstookey.com/arcade/rawmouse/

Your application will need some code for drawing and handling its multiple pointers, but writing a custom mouse driver seems a lot more difficult to me...

绮筵 2024-09-22 10:12:51

可能需要查看 Mirosofts 多点鼠标 SDK

它允许您在屏幕上最多有 25 个鼠标指针。

Might want to look at Mirosofts Multipoint Mouse SDK.

It allows you to have upto 25 mouse pointers on the screen.

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