feat(Windows): add broker service and license API - #63
Merged
Conversation
ReenigneArcher
force-pushed
the
feat/monetize-polar
branch
8 times, most recently
from
August 10, 2026 19:54
8abce31 to
fab5f34
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #63 +/- ##
==========================================
- Coverage 76.12% 73.73% -2.40%
==========================================
Files 24 30 +6
Lines 7306 7701 +395
Branches 2739 2892 +153
==========================================
+ Hits 5562 5678 +116
+ Misses 1482 1478 -4
- Partials 262 545 +283
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 10 files with indirect coverage changes Continue to review full report in Codecov by Harness.
|
ReenigneArcher
force-pushed
the
feat/monetize-polar
branch
11 times, most recently
from
August 10, 2026 23:48
7157cc2 to
62dc5e3
Compare
Introduces a brokered architecture for Windows UMDF gamepad creation: - Adds `libvirtualhid_broker` Windows service that gates gamepad creation and destruction behind Polar license validation - Adds session tokens to the control protocol so stale or unrelated clients cannot control devices they did not create - Adds driver-side broker SID check: only `NT SERVICE\libvirtualhid_broker` may create/destroy gamepads - Adds provider-neutral `license.hpp` public API (`get_license_status`, `activate_license`, `validate_license`, `deactivate_license`) with a stub for non-Windows platforms - Adds Windows broker client helpers and `windows_license.cpp` implementing the public API via the broker named pipe - Updates install/uninstall scripts to register, start, and stop the broker service with a safe quoted `ImagePath` and service SID - Updates `virtualhid_control` UI to show broker license status and provide activate/refresh/deactivate controls - Updates docs and store-review notes to reflect the broker, Polar licensing flow, and DPAPI-protected license state
ReenigneArcher
force-pushed
the
feat/monetize-polar
branch
from
August 11, 2026 00:00
62dc5e3 to
8a442ad
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Introduces a brokered architecture for Windows UMDF gamepad creation:
libvirtualhid_brokerWindows service that gates gamepad creation and destruction behind Polar license validationNT SERVICE\libvirtualhid_brokermay create/destroy gamepadslicense.hpppublic API (get_license_status,activate_license,validate_license,deactivate_license) with a stub for non-Windows platformswindows_license.cppimplementing the public API via the broker named pipeImagePathand service SIDvirtualhid_controlUI to show broker license status and provide activate/refresh/deactivate controlsScreenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage
See our AI usage policy.