问题描述
大家好,
我目前正在使用Windows驱动程序工具包 WDK 7600.16385.1。我想模拟USB键盘和鼠标设备的一些自动化任务,无法通过sendInput / mouse_event / etc API调用实现。我按照设备模拟框架中的示例
DSF \Program Files \dsf \ usbhid \ Use1.1Kbd.wsf并成功模拟键盘输入。
现在的问题是我们如何使用DSF模拟鼠标输入? \Program Files \dsf\GenericHID \TestGenericHid.wsf示例可以创建虚拟鼠标设备。但是,我如何发送任何输入报告以进行鼠标移动或点击?
万分感谢
Hi all,
I am currently using Windows Driver Kits WDK 7600.16385.1. And I would like to simulation USB keyboard and mouse device for some automation task that cannot achieve by sendInput/mouse_event/etc API call. I followed the sample in Device Simulation Framework DSF \Program Files\dsf\usbhid\Use1.1Kbd.wsf and success to simulate keyboard input.
Now the question is how can we simulate mouse input using DSF? \Program Files\dsf\GenericHID\TestGenericHid.wsf sample can create a virtual mouse device. But how can I send any inputreport for mouse movement or click?
Thanks a million