feat: add GamepadVisualizer and compatibility APIs - #186
Conversation
Bundle ReportChanges will increase total bundle size by 12.82kB (86.59%) ⬆️
Affected Assets, Files, and Routes:view changes for bundle: gamepad-helper-array-pushAssets Changed:
Files in
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #186 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 1 2 +1
Lines 96 292 +196
Branches 30 66 +36
==========================================
+ Hits 96 292 +196
Continue to review full report in Codecov by Harness.
|
Introduces `GamepadVisualizer` for rendering Xbox, PlayStation, and Nintendo Switch controller artwork with live button/trigger/stick state updates. Adds `getControllerImagePath()` and `getControllerVisualConfig()` helpers, plus `getCompatibilityIssues()` for surfacing known browser/controller issues (e.g. Firefox + Switch mapping bug). All new APIs are covered by tests.
02ec585 to
f402d4b
Compare
|



Description
Introduces
GamepadVisualizerfor rendering Xbox, PlayStation, and Nintendo Switch controller artwork with live button/trigger/stick state updates. AddsgetControllerImagePath()andgetControllerVisualConfig()helpers, plusgetCompatibilityIssues()for surfacing known browser/controller issues (e.g. Firefox + Switch mapping bug). All new APIs are covered by tests.Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage
See our AI usage policy.