Steam Controller: enable body color theming (closes #13)#21
Merged
Conversation
bodyColorMeshes was [] so setBodyColor() had nothing to recolor. The Steam Controller is a single-color shell, so wire every painted region (buttons, dpad, sticks, triggers, trackpads, back paddles, system buttons) plus the residual body mesh into bodyColorMeshes. Per-press emissive glow still animates on top because the visualizer drives glow via material.emissive — independent from material.color. Move any individual region to accentColorMeshes later if it should take a distinct theme color. Closes #13. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
8 tasks
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.
The Steam Controller profile shipped with `bodyColorMeshes: []`, so `setBodyColor()` had no meshes to recolor. Other controllers (DualSense / Switch Pro / Xbox) split mesh names between body and accent groups; the Steam Controller is single-color, so all 29 split meshes go under `bodyColorMeshes`.
What changes
Why all 29 meshes
The Steam Controller is single-color — no light/dark separation like DualSense's shell vs. accents. Per the user request, everything reads as one body color. Per-press emissive glow still animates on top because the visualizer drives glow via `material.emissive`, independent of `material.color`.
Future split (e.g. darker accents on trackpads or system buttons) is a one-line move from `bodyColorMeshes` into `accentColorMeshes` per region.
Test plan
Closes #13.