Skip to content

feat: original vector button glyphs for Xbox, PlayStation, Nintendo and generic layouts - #113

Merged
nextestudios merged 1 commit into
mainfrom
feature/33-vector-glyphs
Sep 27, 2026
Merged

nextestudios merged 1 commit into
mainfrom
feature/33-vector-glyphs

Conversation

@nextestudios

Copy link
Copy Markdown
Owner

Summary

  • ControllerButton (Core): drawable controls by physical position (faces, LB/RB, LT/RT, Start/Select, D-pad and its directions, sticks, L3/R3), with ControllerButtons.From(PhysicalControl), printed face letters by position (Nintendo A on East, B on South) and pt-BR spoken names for Narrator.
  • ControllerGlyphs (ControlFS.App/Resources): every glyph is built in C# from ellipses, rectangles, polygons, lines and letters on a 24-unit grid, scaled by a Viewbox (vector, crisp at any DPI). Families:
    • Xbox: letters A/B/X/Y, LB/RB/LT/RT, Menu (three lines) / View (two windows).
    • PlayStation: cross/circle/square/triangle strokes, L1/R1/L2/R2, Options (three lines) / Create (pen).
    • Nintendo: letters by position, L/R/ZL/ZR, +/−.
    • Generic: four-dot diamond with the pressed position filled, L1/R1/L2/R2, Start (play) / Select (square).
    • Shoulders are low pills, triggers have a rounded top and flat base; D-pad cross with direction arrows; sticks as ring + cap, L3/R3 as pressed cap.
  • GlyphPalette.Dark / GlyphPalette.Light variants.
  • Footer chips use the vector glyph when a controller is active (keyboard keys stay as text key caps). The prompt provider and dynamic prompts come in feat: add dynamic controller button prompts to action bar #34.
  • No proprietary assets: stated in THIRD_PARTY_NOTICES.md.

Tests

  • CI (unit): face letters follow position per family (Nintendo), spoken names for PlayStation/generic/Nintendo triggers.
  • Manual (docs/TESTING.md): visual review of every glyph in each family, crispness and text alignment at 1080p/4K with 100–300% scaling, Narrator names. Not verified here (no Windows display available to the agent).

Refs #33 (visual acceptance criteria need the manual review above)

🤖 Generated with Claude Code

Draw face buttons, bumpers, triggers, Start/Select, D-pad and sticks for
Xbox, PlayStation, Nintendo and a positional generic set using only
geometric shapes and letters (no images, icon fonts or logos). Glyphs scale
through a Viewbox, take a dark/light palette and expose spoken names for
Narrator. The footer uses them when a controller is active.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@nextestudios
nextestudios force-pushed the feature/33-vector-glyphs branch from 8f0319d to 361b625 Compare September 27, 2026 02:45
@nextestudios
nextestudios merged commit c0da4b7 into main Sep 27, 2026
1 check passed
@nextestudios
nextestudios deleted the feature/33-vector-glyphs branch September 27, 2026 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant