feat: Add GamepadStateAdapter and tests#24
Conversation
Documentation build overview
145 files changed ·
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #24 +/- ##
==========================================
+ Coverage 86.77% 87.70% +0.92%
==========================================
Files 12 14 +2
Lines 3835 4091 +256
Branches 1321 1389 +68
==========================================
+ Hits 3328 3588 +260
- Misses 343 388 +45
+ Partials 164 115 -49
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 4 files with indirect coverage changes Continue to review full report in Codecov by Harness.
|
05fef83 to
b010be5
Compare
Introduce a platform-neutral GamepadStateAdapter to cache and submit partial gamepad updates and to handle output/callbacks. Adds header and implementation (gamepad_adapter.hpp/.cpp), extends types (rear paddle buttons and trigger rumble fields), and exposes the adapter from the main libvirtualhid header. Update examples to use the adapter, add unit tests for profile support and adapter behavior, and update CMakeLists to build the new sources and tests. Also expand README with a Sunshine replacement readiness plan and Windows/Linux/FreeBSD parity notes.
b010be5 to
dfeed94
Compare
|



Description
Introduce a platform-neutral GamepadStateAdapter to cache and submit partial gamepad updates and to handle output/callbacks. Adds header and implementation (gamepad_adapter.hpp/.cpp), extends types (rear paddle buttons and trigger rumble fields), and exposes the adapter from the main libvirtualhid header. Update examples to use the adapter, add unit tests for profile support and adapter behavior, and update CMakeLists to build the new sources and tests. Also expand README with a Sunshine replacement readiness plan and Windows/Linux/FreeBSD parity notes.
Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage