Skip to content

feat(devices): add Scyrox V6, V8 and V8S artwork - #1805

Open
ShreeyansB wants to merge 2 commits into
OpenMouse-Project:mainfrom
ShreeyansB:scyrox-device-art
Open

ShreeyansB wants to merge 2 commits into
OpenMouse-Project:mainfrom
ShreeyansB:scyrox-device-art

Conversation

@ShreeyansB

@ShreeyansB ShreeyansB commented Dec 4, 2026 •

Copy link
Copy Markdown

Adds device artwork for the Scyrox V6, V8 and V8S. The V6 and V8 are driven by ScyroxHidClient and verified on hardware (see docs/scyrox-v8-testing.md in mouse-protocol and OpenMouse-Project/mouse-protocol#354). The V8S is already listed as supported. All three currently show the placeholder.

  • public/devices/scyrox-v6.png, scyrox-v8.png, scyrox-v8s.png: top-down renders from Scyrox's official product galleries (scyrox.com/products/scyrox-v6, blue; scyrox-v8, black; scyrox-v8s, pink). The white backdrop was keyed out of the V6 and V8S renders (the V8 render is already transparent). Each is trimmed and centered at 644 px tall on a transparent 700×700 canvas, like redragon-m991.png.
  • src/shared/device-images.ts: name rules for "Scyrox V8S", "Scyrox V8" and "Scyrox V6", plus LOCAL_OVERRIDES entries so the files are served from the repo until a maintainer uploads them to the bucket.
  • public/devices/README.md: provenance note. This is vendor product art, so redistribution terms still need the usual confirmation.
  • Test: each name resolves to its render, and the receiver's own name ("SCYROX 8K Dongle") keeps the placeholder.

The rules key on the reported name because the V6 uses the V8's product ids (0x3554:0xf5f6/0xf5f7) and the driver tells them apart by the handshake MID. V8S is matched before V8. This picks up the idea from #1451, which mapped the same names without the files.

npm run check (build, bundle size, tests) passes, with 787 tests.

Related: #1804 and OpenMouse-Project/openmouse-landing-page#85 (V6 listed as supported).

Note

Add Scyrox V6, V8, and V8S device artwork

  • Adds image assets and maps the Scyrox V6, V8, and V8S display names to their own filenames in computeDeviceImageFilename in device-images.ts. The V8S match runs before the V8 match so V8S resolves separately.
  • Adds local-path overrides in LOCAL_OVERRIDES so the three images serve from /devices instead of the bucket.
  • Documents image sources and preparation in README.md and adds resolution tests in device-images.test.ts.

Macroscope summarized f335bac.

Summary by CodeRabbit

  • New Features
    • Added device artwork for Scyrox V6, V8, and V8S mice. The app now displays the matching image based on the reported mouse name, including distinguishing the V6 and V8 when they share receiver IDs.
    • Scyrox V8S is matched separately from V8, and the receiver’s dongle name continues to display the unknown-device placeholder.

@coderabbitai

coderabbitai Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The device image resolver now maps reported Scyrox V6, V8, and V8S names to distinct images. Local overrides point to the image files. Tests cover the mappings, and the device README records image sources and preparation.

Changes: Scyrox device image resolution

Layer / File(s) Summary
Name-based image resolution and assets
src/shared/device-images.ts, src/shared/device-images.test.ts, public/devices/README.md
The resolver maps Scyrox V8S, V8, and V6 names to separate image filenames, checking V8S before V8. Local overrides point to the three images. Tests cover the mappings, including shared V6 and V8 receiver IDs and the unknown dongle placeholder. The README records image sources and preparation.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Possibly related PRs

Suggested labels: area: devices, area: artwork, type: enhancement, area: documentation

Suggested reviewers: snekxs, macroscopeapp, macieqzz

Merge Risk: Minimal · up to f335b · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title 'feat(devices): add Scyrox V6, V8 and V8S artwork' matches the main change. The PR adds local artwork for the Scyrox V6, V8, and V8S, adds reported-name matching in device-images.ts, and add…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title 'feat(devices): add Scyrox V6, V8 and V8S artwork' matches the main change. The PR adds local artwork for the Scyrox V6, V8, and V8S, adds reported-name matching in device-images.ts, and adds tests. The title is specific and names the devices and the change type. It does not mention the local override or the name-matching logic, but it does not need to cover every detail.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between fe38af7 and f335bac.

Files ignored due to path filters: 3

  • public/devices/scyrox-v6.png is excluded by !**/*.png
  • public/devices/scyrox-v8.png is excluded by !**/*.png
  • public/devices/scyrox-v8s.png is excluded by !**/*.png
Files selected for processing: 3

  • public/devices/README.md
  • src/shared/device-images.test.ts
  • src/shared/device-images.ts

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.

@macroscopeapp

macroscopeapp Bot commented Dec 4, 2026

Copy link
Copy Markdown

Approvability

Verdict: Approved at f335bac

Macroscope's review found this PR approvable — Adds local artwork for Scyrox V6, V8 and V8S, selected by the reported model name. The change is confined to device presentation and leaves receiver placeholders and device behavior unchanged.

Notes:

  • Your repo's Minimum Blocking Severity is Off, so correctness findings do not automatically block approval.

You can add or adjust custom eligibility rules. Learn more.

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