从 C#/C++ 与 HID 设备接口?
我知道我可以挂钩 HID 设备发送的事件,但我有兴趣了解是否有任何方法可以实际向其发送指令。例如,我想编写一个应用程序,允许我单击按钮,然后键盘“按下一个键”。普通方法(SendInput、SendKeys 等)都无法满足我的需求,因此这是我剩下的唯一选择。
这是否可能,如果可能,我应该研究什么?谢谢!
I understand that I can hook events sent by HID devices, but I am interested in finding out if there is any way to actually send instructions to it. For example, I would like to write an application that allows me to click a button, and the keyboard "presses a key". None of the normal methods (SendInput, SendKeys, etc) are working for my needs, so this is about the only option I have left.
Is this even possible, and if so what should I be looking into? Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于任何常规方法都不起作用,我选择使用 Oblita 拦截库,它似乎非常适合我的需求。感谢您的帮助!
http://oblita.com/Interception
As none of the normal methods would work, I have opted to use the Oblita Interception Library which seems perfect for my needs. Thanks for the help!
http://oblita.com/Interception