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
4 changes: 4 additions & 0 deletions public/devices/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,3 +269,7 @@ package:
**Needs a maintainer upload** to the `openmouse-devices` R2 bucket; the mapping in
`src/ui/device-images.ts` is in place and falls back cleanly to the placeholder until then.

- `steelseries-aerox-3-wireless.png` — SteelSeries Aerox 3 Wireless (wired `0x1038:0x183a`, 2.4 GHz `0x1038:0x1838`).
Normalized from official product render on transparent 700×700 canvas. Temporarily served from
`public/devices/steelseries-aerox-3-wireless.png` via `LOCAL_OVERRIDES`. Needs a maintainer upload to R2 bucket.

Binary file added public/devices/steelseries-aerox-3-wireless.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/supported-devices-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ export const SUPPORTED_DEVICES: readonly SupportedDeviceEntry[] = [
{ brand: "SteelSeries", model: "Rival 3 (wired)", status: "supported", pids: [0x1824, 0x184c] },
{ brand: "SteelSeries", model: "Rival 650 Wireless", status: "supported", pids: [0x172b, 0x1726] },
{ brand: "SteelSeries", model: "Aerox 3", status: "supported", pids: [0x1836] },
{ brand: "SteelSeries", model: "Aerox 3 Wireless", status: "supported", pids: [0x1838, 0x183a] },
{ brand: "SteelSeries", model: "Aerox 3 Wireless Gen 2", status: "supported", pids: [0x1838, 0x183a] },
{ brand: "SteelSeries", model: "Prime+", status: "supported", pids: [0x182c] },
{ brand: "SteelSeries", model: "Rival 310", status: "supported", pids: [0x1720, 0x171e, 0x1736] },
{ brand: "SteelSeries", model: "Prime Mini Wireless", status: "supported", pids: [0x184a, 0x1848] },
Expand Down Expand Up @@ -644,9 +646,7 @@ export const SUPPORTED_DEVICES: readonly SupportedDeviceEntry[] = [
{ brand: "Solakaka", model: "E9 Pro", status: "pending" },
{ brand: "Solakaka", model: "SM822", status: "pending" },
{ brand: "Sprime", model: "PM1", status: "pending" },
{ brand: "SteelSeries", model: "Aerox 3 Wireless", status: "pending" },
{ brand: "SteelSeries", model: "Rival 5", status: "pending" },
{ brand: "SteelSeries", model: "Aerox 3 Wireless Gen 2", status: "pending" },
{ brand: "SteelSeries", model: "Aerox 5 Wireless", status: "pending" },
{ brand: "SteelSeries", model: "M-00029", status: "pending" },
{ brand: "SteelSeries", model: "Rival 600", status: "pending" },
Expand Down
7 changes: 7 additions & 0 deletions src/ui/device-images.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,3 +356,10 @@ test("Incott names do not collide with other brands' renders", () => {
assert.equal(deviceImage(null, "G203 LIGHTSYNC"), CDN + "logitech-g203.png");
assert.equal(deviceImage(null, "G303 SHROUD"), CDN + "logitech-g303.png");
});

test("SteelSeries Aerox 3 Wireless resolves to its artwork", () => {
assert.equal(deviceImage(null, "SteelSeries Aerox 3 Wireless"), "/devices/steelseries-aerox-3-wireless.png");
assert.equal(deviceImage(null, "Aerox 3 Wireless (wired mode)"), "/devices/steelseries-aerox-3-wireless.png");
assert.equal(deviceImage(null, "Aerox 3 Wireless Gen 2"), "/devices/steelseries-aerox-3-wireless.png");
});

2 changes: 2 additions & 0 deletions src/ui/device-images.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ function resolveDeviceImageFilename(_device: HIDDevice | null | undefined, displ
if (/\ba7\s*v3\b/i.test(displayName)) return "mchose-a7-v3.png";
if (/\ba7\s*v2\b/i.test(displayName)) return "mchose-a7-v2.png";
if (/\ba950\s*pro\s*mg\b/i.test(displayName)) return "dareu-a950-pro-mg.png";
if (/\baerox\s*3\s*wireless\b/i.test(displayName)) return "steelseries-aerox-3-wireless.png";
if (/\bmm711\b/i.test(displayName)) return "coolermaster-mm711.png";
// NinjaForce/Ninjutso family — V3 first so "Sora V3" isn't swallowed by a
// looser V2 or "Ten" match.
Expand Down Expand Up @@ -208,6 +209,7 @@ const LOCAL_OVERRIDES: Readonly<Record<string, string>> = {
"delux-m800-mini.png": "/devices/delux-m800-mini.png",
"ipi-float-88.png": "/devices/ipi-float-88.png",
"asus-rog-harpe-ace-aim-lab.png": "/devices/asus-rog-harpe-ace-aim-lab.png",
"steelseries-aerox-3-wireless.png": "/devices/steelseries-aerox-3-wireless.png",
};

export function deviceImage(device: HIDDevice | null | undefined, displayName = ""): string {
Expand Down
Loading