WDK DSF鼠标模拟 [英] WDK DSF mouse simulation

查看:346
本文介绍了WDK DSF鼠标模拟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我目前正在使用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示例可以创建虚拟鼠标设备。但是,我如何发送任何输入报告以进行鼠标移动或点击?


万分感谢


 

WDK初学者

解决方案

没关系我似乎已经通过我修改过的TestGenericHid.wsf脚本回答了这个问题。项目页面:
http://kinectmultipoint.codeplex.com


可能需要稍加修改,但我引用了关于在项目页面上使用它的讨论,因此2 + 2可以组合在一起等于4.



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

 

Beginner in WDK

解决方案

Never mind i seem to have answered this by my modified version of TestGenericHid.wsf script in my project page at: http://kinectmultipoint.codeplex.com

It may need a little modification but i've referenced talks about using it on project page so 2+2 can be put together to equal 4.


这篇关于WDK DSF鼠标模拟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆