USB鼠标自定义驱动
有没有办法为 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
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...
可能需要查看 Mirosofts 多点鼠标 SDK。
它允许您在屏幕上最多有 25 个鼠标指针。
Might want to look at Mirosofts Multipoint Mouse SDK.
It allows you to have upto 25 mouse pointers on the screen.