Create a virtual USB mouse on Windows with Vdevice
Create a mouse, send a small relative movement and check the result on the Windows desktop.
Try the mouse panel
Use Windows 10 or 11 x64 and an administrator account. The package contains the Microsoft-signed demo 1.0.6.0. Its one-hour allowance starts on the first successful virtual device creation per Windows kernel boot.
- Run
VdeviceSetup.exeand choose Install or Reinstall / repair. Restart Windows if setup requests it. - Extract the examples ZIP and open
VdeviceMouseUI.exe. Click Create device and wait for READY. - Put the cursor away from the screen edges. Set
xto32,yto0and leave buttons released. Click Send state. The cursor should move to the right. Windows pointer settings affect the visible distance. - Choose Release / neutral and Disconnect when finished. Use the installer’s Uninstall option to remove the demo.
Use the same profile from C++
The mouse example builds a USB HID descriptor in Device_Config, calls Create_Device and sends reports with Send_Input. Its seven-byte report carries five button bits, signed relative X/Y motion and two wheel values. Read the C++ example at the version used for this guide.
Mouse example source at 1.0.6.0 · SHA-256 checksums
Validation
For the signed 1.0.6.0 demo, the Windows 11 Hyper-V lab with Secure Boot enabled confirmed that the Windows USB stack consumed mouse reports during the five-device campaign. Cursor movement is the manual check in this guide. The lab did not assert desktop cursor position or application-specific behavior. Read the signed release validation.