Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions public/devices/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,11 @@ extracted from Attack Shark's official product gallery
out of its white backdrop and downscaled. Confirm redistribution terms before
including it in a public release package.

`attackshark-rs3-ultra.png` is reserved for the Attack Shark RS3 Ultra name
fallback. The mapping is in place, but the image must be supplied and uploaded
to the `openmouse-devices` bucket by a maintainer after its redistribution
rights are confirmed; until then the panel falls back to the placeholder.

`razer-viper.webp` was supplied from a Best Buy shopping page for the device. Confirm redistribution
terms before including it in a public release package.

Expand Down
1 change: 1 addition & 0 deletions src/shared/device-images.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ test("PRO X3 SUPERSTRIKE gets its own render, not the X2's", () => {
assert.equal(deviceImage(null, "PRO X 3 Superstrike"), CDN + "logitech-pro-x3-superstrike.png");
assert.equal(deviceImage(null, "PRO X 2 Superstrike"), CDN + "logitech-pro-x2-superstrike.png");
assert.equal(deviceImage(null, "Attack Shark X3"), CDN + "attackshark-x3.png");
assert.equal(deviceImage(null, "Attack Shark RS3 Ultra"), CDN + "attackshark-rs3-ultra.png");
});

test("Razer Orochi V2 resolves by name", () => {
Expand Down
1 change: 1 addition & 0 deletions src/shared/device-images.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ function computeDeviceImageFilename(displayName: string): string {
return "vxe-r1-se.png";
}
if (/\br5\s*ultra\b/i.test(displayName)) return "attackshark-r5-ultra.png";
if (/\battack\s*shark\s*rs3\s*ultra\b/i.test(displayName)) return "attackshark-rs3-ultra.png";
if (/\bfloat\s*88\b/i.test(displayName)) return "ipi-float-88.png";
if (/\batk\s*zero\b/i.test(displayName)) return "atk-zero.png";
// R2 shares PID 0x402D with the Lingbao M5 Pro, so it can only be told apart
Expand Down