feat(windows): add keyboard/mouse support and expose global UMDF control-device path#34
feat(windows): add keyboard/mouse support and expose global UMDF control-device path#34ReenigneArcher wants to merge 2 commits into
Conversation
Implement keyboard and mouse input through Win32 SendInput API. The keyboard backend supports individual key events and Unicode text input. The mouse backend supports relative/absolute motion, button events (including XButtons), and both vertical and horizontal scrolling with high-resolution support. Gamepad input continues to use the UMDF driver for descriptor-driven virtual devices. Update documentation, capabilities reporting, and tests accordingly.
Windows control channel discovery now supports both `\\.\LibVirtualHid` and `\\.\Global\LibVirtualHid` by default, while still honoring `LIBVIRTUALHID_WINDOWS_CONTROL_DEVICE` as an explicit override. The UMDF driver now creates the global symbolic link first and also attempts the legacy non-global link for compatibility. Protocol constants and unit/fixture tests were updated to cover the new global path behavior.
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #34 +/- ##
==========================================
- Coverage 87.70% 85.47% -2.23%
==========================================
Files 14 14
Lines 4091 4228 +137
Branches 1390 1436 +46
==========================================
+ Hits 3588 3614 +26
- Misses 388 496 +108
- Partials 115 118 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Harness.
|




Description
Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage