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
15 changes: 15 additions & 0 deletions public/devices/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,21 @@ 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.

- `zaopin-z1-pro.png` — Zaopin Z1 PRO (PAW3395). The mouse shares receiver
`0x3554:0xf524` and cable `0xf526` with the rest of the Zaopin line, so the
name-fallback mapping in `src/shared/device-images.ts` keys on the reported
name "Zaopin Z1 PRO" (the driver reads the model from its handshake,
mouse-protocol #322); "Zaopin Z1 PRO MAX" keeps the placeholder.
**Needs a maintainer upload.** Suggested source: the white Z1 PRO 4K variant
render from the Mechkeys Shopify listing
(`https://cdn.shopify.com/s/files/1/0631/9590/6271/files/zaopin-z1-pro-three-mode-4k-paw3395-mouse-mechkeysshop-z1-pro-4k-white-845944.png?v=1769525596`,
listing `https://mechkeys.com/products/zaopin-z1-pro-three-mode`). It is an
800×800 straight top-down PNG on an opaque light-grey backdrop with the 4K
dongle and a "Z1 PRO" / Nordic 4K badge beside the mouse, so it needs the
mouse cropped out and the backdrop keyed to transparent. Reseller-hosted
vendor product art with no stated licence; request licensing review before
publishing it in R2.


`unknown-keyboard.png` is the keyboard placeholder, the keyboard twin of
`unknown-device.png`: a flat black silhouette with a white Arial Bold question
Expand Down
2 changes: 2 additions & 0 deletions src/shared/device-images.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ test("VGN Dragonfly F2 Master+, Lamzu Maya X, ATK F1 V2, Orbital and moddo resol
assert.equal(deviceImage(null, "Dragonfly F2 Master+"), CDN + "vgn-dragonfly-f2.png");
assert.equal(deviceImage(null, "Lamzu Maya X"), CDN + "lamzu-maya-x.png");
assert.equal(deviceImage(null, "Lamzu Maya"), CDN + "lamzu-maya.png");
assert.equal(deviceImage(null, "Zaopin Z1 PRO"), CDN + "zaopin-z1-pro.png");
assert.equal(deviceImage(null, "Zaopin Z1 PRO MAX"), CDN + "unknown-device.png");
assert.equal(deviceImage(null, "Lamzu Atlantis"), CDN + "unknown-device.png");
assert.equal(deviceImage(null, "ATK F1 V2 Ultra Max"), CDN + "atk-f1-v2-ultra-max.png");
assert.equal(deviceImage(null, "Orbital Ghost"), CDN + "unknown-device.png");
Expand Down
2 changes: 2 additions & 0 deletions src/shared/device-images.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ function computeDeviceImageFilename(displayName: string): string {
if (/\bmaya\s*x\b/i.test(displayName)) return "lamzu-maya-x.png";
// The original Maya shares its ids with the Atlantis family; the driver names it.
if (/\blamzu\s+maya$/i.test(displayName)) return "lamzu-maya.png";
// Zaopin receivers are shared across models; the driver names the model from its handshake.
if (/\bzaopin\s+z1\s+pro$/i.test(displayName)) return "zaopin-z1-pro.png";
if (/\bnoir\s*s1\b/i.test(displayName)) return "noir-s1.png";
if (/k[\s-]*snake/i.test(displayName)) return "ksnake-x11.png";
if (/\bf1\s*v2\b/i.test(displayName)) return "atk-f1-v2-ultra-max.png";
Expand Down
1 change: 1 addition & 0 deletions tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"root":["./src/main.tsx","./src/app/app.tsx","./src/app/appsidebar.tsx","./src/app/helppanel.tsx","./src/app/pendingbar.tsx","./src/app/toasts.tsx","./src/app/unsupportednotice.tsx","./src/app/usecontrol.ts","./src/app/useviewporttoosmall.ts","./src/device/arbiter-deck.ts","./src/device/arbiter-keyboard.ts","./src/device/arbiter-labels.ts","./src/device/arbiter-workspace.ts","./src/device/atk-fields.d.ts","./src/device/atk.ts","./src/device/controller.ts","./src/device/device-clients.ts","./src/device/device-names.ts","./src/device/dpi-presets.ts","./src/device/driver-classes.ts","./src/device/egg-fields.d.ts","./src/device/finalmouse-slx.ts","./src/device/firmware-updates.ts","./src/device/game-profile-snapshot.ts","./src/device/glorious-keyboard.ts","./src/device/glorious-workspace.ts","./src/device/hid-diagnostics.ts","./src/device/hid-filters.ts","./src/device/incott-macros.ts","./src/device/keyboard-client.ts","./src/device/keyboard-workspace.ts","./src/device/keychron-curve.ts","./src/device/keychron-flag.ts","./src/device/keychron-keyboard.ts","./src/device/keychron-layout-data.ts","./src/device/keychron-layout.ts","./src/device/keychron-legend.ts","./src/device/keychron-picker.ts","./src/device/keychron-remap.ts","./src/device/keychron-travel.ts","./src/device/kochi-keyboard.ts","./src/device/leobog-macro-timing.ts","./src/device/logitech-factory.ts","./src/device/logitech-game-mode-storage.ts","./src/device/logitech-keyboard.ts","./src/device/lunafury-labels.ts","./src/device/lunafury-profile.ts","./src/device/m2nex-profiles.ts","./src/device/mchose-colors.ts","./src/device/mchose-keyboard.ts","./src/device/mchose-profile-file.ts","./src/device/mchose-workspace.ts","./src/device/mouse-receivers.ts","./src/device/noir.ts","./src/device/options.ts","./src/device/pending-changes.ts","./src/device/profile-key.ts","./src/device/razer-keyboard.ts","./src/device/rival650-buttons.ts","./src/device/shared-lightspeed.ts","./src/device/steelseries-keyboard.ts","./src/device/traits.ts","./src/device/types.ts","./src/device/via-keyboard.ts","./src/device/wooting-keyboard.ts","./src/device/wuque-keyboard.ts","./src/device/x11-macros.ts","./src/device/angry-miao/firmware.ts","./src/device/angry-miao/preview-fixtures.ts","./src/device/preview/arbiter-preview.ts","./src/device/preview/glorious-preview.ts","./src/device/preview/keychron-preview.ts","./src/device/preview/mchose-preview.ts","./src/device/preview/preview-fixtures.ts","./src/device/preview/preview-modes.ts","./src/features/bridge/bridgemanualupdate.tsx","./src/features/bridge/bridgestatus.tsx","./src/features/bridge/bridge-hid.ts","./src/features/bridge/bridge-status-store.ts","./src/features/bridge/bridge.ts","./src/features/bridge/local-network-permission.ts","./src/features/bridge/manual-update.ts","./src/features/bridge/updates.ts","./src/features/bridge/usebridgebatteryreporter.ts","./src/features/bridge/usebridgeprofileapplier.ts","./src/features/buttons/buttonmap.tsx","./src/features/buttons/setupcodedialog.tsx","./src/features/buttons/command-search.ts","./src/features/buttons/logitech-button-map.ts","./src/features/buttons/logitech-commands.ts","./src/features/buttons/setup-code.ts","./src/features/capture/capturedialog.tsx","./src/features/capture/capture-context.ts","./src/features/capture/capture-format.ts","./src/features/devices/actuationgauge.tsx","./src/features/devices/devicehero.tsx","./src/features/devices/devicestats.tsx","./src/features/devices/deviceshome.tsx","./src/features/devices/diagnostics.tsx","./src/features/devices/keychronnapelayers.tsx","./src/features/devices/magneticbuttons.tsx","./src/features/devices/magnetictravel.tsx","./src/features/devices/overviewpage.tsx","./src/features/devices/battery-history.ts","./src/features/devices/workspace-tabs.ts","./src/features/devices/cards/advancedcards.tsx","./src/features/devices/cards/arbiterkeyboardpanel.tsx","./src/features/devices/cards/atkcards.tsx","./src/features/devices/cards/dpicard.tsx","./src/features/devices/cards/firmwarecard.tsx","./src/features/devices/cards/gloriouskeyboardpanel.tsx","./src/features/devices/cards/incottmacrocard.tsx","./src/features/devices/cards/keyboardpanel.tsx","./src/features/devices/cards/keyboardworkspacecards.tsx","./src/features/devices/cards/keychroncurvegraph.tsx","./src/features/devices/cards/keychronkeymap.tsx","./src/features/devices/cards/keychronkeyboardpanel.tsx","./src/features/devices/cards/keychronmousecards.tsx","./src/features/devices/cards/keychronreceivercards.tsx","./src/features/devices/cards/keychronremapcard.tsx","./src/features/devices/cards/kochikeyboardpanel.tsx","./src/features/devices/cards/lightingcard.tsx","./src/features/devices/cards/logitechgamemodepanel.tsx","./src/features/devices/cards/logitechkeytrail.tsx","./src/features/devices/cards/logitechkeyboardpanel.tsx","./src/features/devices/cards/logitechlightingeditor.tsx","./src/features/devices/cards/logitechonboardanimations.tsx","./src/features/devices/cards/logitechonboardassignments.tsx","./src/features/devices/cards/logitechonboardpanel.tsx","./src/features/devices/cards/logitechperkeyeffects.tsx","./src/features/devices/cards/lunafurycards.tsx","./src/features/devices/cards/mchoseeditors.tsx","./src/features/devices/cards/mchosekeyboardpanel.tsx","./src/features/devices/cards/mxmastercards.tsx","./src/features/devices/cards/performancecards.tsx","./src/features/devices/cards/razerkeyboardpanel.tsx","./src/features/devices/cards/steelserieskeyboardpanel.tsx","./src/features/devices/cards/viabackupcard.tsx","./src/features/devices/cards/viakeyboardpanel.tsx","./src/features/devices/cards/viamacroeditor.tsx","./src/features/devices/cards/wootingkeymap.tsx","./src/features/devices/cards/wootingkeyboardpanel.tsx","./src/features/devices/cards/x11macrocard.tsx","./src/features/devices/cards/x11shortcutcard.tsx","./src/features/devices/cards/atk-capabilities.ts","./src/features/devices/cards/availability.ts","./src/features/devices/cards/logitech-g915-layout.ts","./src/features/devices/cards/logitech-lighting-frames.ts","./src/features/devices/cards/wooting-layout.ts","./src/features/devices/cards/wooting-rapid-trigger.ts","./src/features/devices/cards/teevolution/profilecard.tsx","./src/features/games/appicon.tsx","./src/features/games/gameprofilepanel.tsx","./src/features/games/gamerequestdialog.tsx","./src/features/games/gamespage.tsx","./src/features/games/localapplicationdialog.tsx","./src/features/games/games-catalog.ts","./src/features/games/local-applications.ts","./src/features/hardware-test/hardwaretestpage.tsx","./src/features/hardware-test/hardware-brand-checks.ts","./src/features/hardware-test/hardware-test-report.ts","./src/features/hardware-test/polling-stats.ts","./src/features/hardware-test/supported-devices-crosscheck.ts","./src/features/hardware-test/supported-devices-data.ts","./src/features/news/newsbanner.tsx","./src/features/news/whatsnewdialog.tsx","./src/features/news/news.ts","./src/features/profiles/profiles.tsx","./src/features/profiles/shareprofiledialog.tsx","./src/features/profiles/hid-keys.ts","./src/features/settings/interfacesettings.tsx","./src/features/settings/interface-preferences.ts","./src/features/superstrike/deletehitspresetdialog.tsx","./src/features/superstrike/hitstestdialog.tsx","./src/features/superstrike/savehitspresetdialog.tsx","./src/features/superstrike/superstrike.tsx","./src/features/superstrike/hits-presets.ts","./src/features/superstrike/hits-test.ts","./src/i18n/index.ts","./src/i18n/locales/ar.ts","./src/i18n/locales/de.ts","./src/i18n/locales/es.ts","./src/i18n/locales/fr.ts","./src/i18n/locales/ja.ts","./src/i18n/locales/ko.ts","./src/i18n/locales/pt.ts","./src/i18n/locales/ru.ts","./src/i18n/locales/tr-extra.ts","./src/i18n/locales/tr.ts","./src/i18n/locales/vendor-keyboard-ui.ts","./src/i18n/locales/vi.ts","./src/i18n/locales/wooting-ui.ts","./src/i18n/locales/zh.ts","./src/platform/analytics.ts","./src/platform/browser-support.ts","./src/platform/offline-banner.ts","./src/platform/preload-recovery.ts","./src/platform/register-sw.ts","./src/platform/self-xss-guard.ts","./src/platform/sound-manager.ts","./src/platform/trusted-types.ts","./src/shared/asciifield.tsx","./src/shared/cardslot.tsx","./src/shared/colorpicker.tsx","./src/shared/ascii.ts","./src/shared/battery-icon.ts","./src/shared/color-math.ts","./src/shared/device-images.ts","./src/shared/hid-keys.ts","./src/shared/polling-rate.ts","./src/shared/profile-label.ts","./src/shared/social-links.tsx","./src/shared/ui-locale.ts","./src/shared/ui.tsx","./src/types/vite-env.d.ts","./src/types/webhid.d.ts"],"version":"5.9.3"}