Windows Virtual Devices — Virtual USB Driver and C++ SDK
Create and control virtual USB keyboard, mouse and gamepad devices on
Windows 10/11 x64. Define raw descriptors, endpoints and reports with a
two-file C++17 SDK: VirtualDevice/VirtualDevice.h and VirtualDevice.cpp.
Demo 0.1.0.0 — Microsoft-signed kernel driver. One hour per Windows kernel boot. Use the matching driver, SDK and installers from this edition.
Download demo ZIP · UI installer · Console installer · SDK + source
C++ API | Graphical examples | Installation | Scope and validation
Seven operations for every protocol
| Operation | Purpose |
|---|---|
VirtualDevice::Check(config) |
Validate the raw description offline |
VirtualDevice::Status() |
Read capabilities, owned devices and demo state |
VirtualDevice::Connect(config) |
Create an owned virtual USB device |
VirtualDevice::Disconnect(device) |
Disconnect it explicitly |
VirtualDevice::Send(device, bytes) |
Send through the sole declared IN endpoint |
VirtualDevice::Receive(timeout) |
Receive host output, controls or device-state events |
VirtualDevice::Reply(output, bytes, stall) |
Complete a delegated control request |
For multi-IN devices, use Send(device, endpoint, bytes). The implicit endpoint
is selected once during creation; a missing or ambiguous IN endpoint is rejected.
No device family, byte count or manual session management is required.
The move-only Device object owns its device. Keep it alive while sending and
receiving. Destruction or process termination disconnects owned virtual devices.
Creation is asynchronous: service output/control requests during enumeration
and wait for configuration before normal input. Send success means accepted
into the bounded queue, not consumed by an application.
Build the SDK and examples
Demo/evaluation driver source is available; see driver/README.md for build instructions and separate evaluation-source terms. Those terms apply to Titan-authored driver code. Third-party source licenses and existing application/SDK licenses remain applicable. Full/commercial implementation and private signing or activation material are excluded.
Install Visual Studio 2022 Desktop C++, a Windows SDK, CMake and .NET Framework reference assemblies, then run:
powershell -ExecutionPolicy Bypass -File .\Build.ps1The default build compiles user-mode sources and runs offline checks. With the
matching signed payload from the SDK ZIP it also builds the installers. A source-only
checkout defers installer packaging until that payload is supplied. The build never
installs a driver or creates a device. -Target Installers requires the matching
Microsoft-signed package and has no unsigned override.
The graphical examples cover a USB keyboard, mouse, Xbox 360/XInput, DualShock 4,
Xbox One/GIP and a raw Descriptor Workshop. --preview opens the five native
control panels offline. Normal device creation requires the matching signed
driver and administrator rights. Device-specific descriptions and report
encoders live in the examples; the SDK contains no built-in device profiles.
Demo and supported scope
The demo allowance is one hour per Windows kernel boot, starting at the first successful virtual-device creation and shared across applications. Sleep counts; closing or reinstalling does not reset it. Expiry disconnects devices and refuses creation/transfers until Windows Restart. For the unrestricted version, contact titancsa on Discord. No paid edition is included or prepared here.
The driver uses KMDF / UdeCx with USB low/full/high speed, one configuration, alternate setting zero and interrupt/bulk endpoints. SuperSpeed, isochronous audio, external hubs and additional configurations are outside the implemented scope. A VID/PID change alone does not reproduce firmware or console authentication. The GIP example uses the documented PC USB security opt-out interface and requires Windows 10 21H2 or later.
Source and notices
This demo is based on Vdevice. Original MIT and third-party notices are retained
in LICENSE and licenses/NOTICE. Selected example descriptors/protocol data
originate from ViGEmBus under BSD-3-Clause
and Microsoft's MS-GIPUSB documentation. The examples are PC protocol examples,
not complete console firmware replicas. Demo driver source is documented in driver/README.md; full/commercial implementation is excluded; driver binaries have separate distribution terms.
For physical input interception, see Windows Input Filter.
Responsible use
Use the software only on systems you are authorized to control and in compliance with applicable laws, third-party rights and service rules. It is intended for accessibility, customization, research, testing and software development. You are responsible for your actions, including illegal or unauthorized use. The software is provided "AS IS", without warranties to the extent permitted by law. Existing licenses and liability terms remain applicable.
Paquets et installation
Les sources, licences, guides API et exemples sont regroupes dans le depot SDK dedie. Choisis le paquet a installer puis execute sa commande dans son dossier.
| Registre | Paquet | Installation / utilisation |
|---|---|---|
| vcpkg | windows-virtual-devices |
vcpkg install windows-virtual-devices:x64-windows |
| Conan | windows-virtual-devices |
conan install --requires=windows-virtual-devices/0.1.0 -r titancsa --build=missing -s compiler.cppstd=17 |
| NuGet | Windows-Virtual-Devices.Native |
Install-Package Windows-Virtual-Devices.Native -Version 0.1.0 |
| NuGet | WindowsVirtualDevices.SDK |
dotnet add package WindowsVirtualDevices.SDK --version 1.0.0 |
| PyPI | windows-virtual-devices |
Commande prevue apres publication : python -m pip install windows-virtual-devices==1.0.0
|
| Conda | windows-virtual-devices |
conda install --override-channels -c https://raw.githubusercontent.com/TitanCSA/sdk-packages/089bc73095aa8eda89bacbe10d0b9e58394b0207/conda-channel -c conda-forge windows-virtual-devices (canal TitanCSA) |
| crates.io | windows-virtual-devices |
cargo add windows-virtual-devices@1.0.0 |
| npm | windows-virtual-devices |
Commande prevue apres publication : npm install windows-virtual-devices@1.0.0
|
| Maven Central | io.github.titancsa:windows-virtual-devices |
io.github.titancsa:windows-virtual-devices:1.0.0 (pom.xml / Gradle) |
| JitPack | com.github.titanfyre:Windows-Virtual-Devices |
com.github.titanfyre:Windows-Virtual-Devices:java-sdk-v1.0.0 (avec le depot JitPack) |
| Go Modules | github.com/titanfyre/Windows-Virtual-Devices/Windows-Virtual-Devices-Go-modules |
go get github.com/titanfyre/Windows-Virtual-Devices/Windows-Virtual-Devices-Go-modules@v1.0.0 |
| pkg.go.dev | github.com/titanfyre/Windows-Virtual-Devices/Windows-Virtual-Devices-Go-modules |
Documentation : https://pkg.go.dev/github.com/titanfyre/Windows-Virtual-Devices/Windows-Virtual-Devices-Go-modules@v1.0.0 |
| PowerShell Gallery | WindowsVirtualDevices |
Install-Module WindowsVirtualDevices -RequiredVersion 1.0.0 -Scope CurrentUser |
| pub.dev | windows_virtual_devices |
dart pub add windows_virtual_devices:1.0.0 |
| RubyGems | windows-virtual-devices |
gem install windows-virtual-devices -v 1.0.0 |
| Packagist | titancsa/windows-virtual-devices |
composer require titancsa/windows-virtual-devices:1.0.0 |
Pour vcpkg et Conan, configure d abord le registre TitanCSA avec le guide complet. Le guide explique aussi Maven/Gradle, les prerequis et le chargement des DLL. Les pilotes/applications du produit sont installes separement. Les commandes marquees prevues ne sont pas encore disponibles.
Les anciens imports Go et versions JitPack gardent leurs tags. Pour les anciennes archives SDK, utilise les liens de remplacement.
Commercial integration and support
Important
Get the full version without demo restrictions
Discord username: titancsa
Open Discord, choose Friends > Add Friend, enter titancsa, then send a direct message. Ask for the full version without the demo time limit, and mention Windows Virtual Devices.
Tell me whether you need personal use, business integration or OEM redistribution, and ask for pricing and license / activation instructions.