From 0096fd3b669b23e0a32f38e971f6b7ec67e3c94b Mon Sep 17 00:00:00 2001 From: ydw1904 Date: Sat, 5 Sep 2026 10:42:37 +0800 Subject: [PATCH] preview: give the WLMouse fixture its DPI stage table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The driver now reports `dpiStages` and the `dpiStageEditor` hint, so the preview should show the stage list too — otherwise the one fixture for this family renders a card the real mouse no longer matches. Co-Authored-By: Claude Opus 5 --- src/preview-fixtures.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/preview-fixtures.ts b/src/preview-fixtures.ts index c7cf1b13..65c3598d 100644 --- a/src/preview-fixtures.ts +++ b/src/preview-fixtures.ts @@ -136,11 +136,18 @@ const EGG_XM2WE: MouseStatus = { const WLMOUSE: MouseStatus = { brand: "WLMouse", name: "BEAST X", - ui: { family: "wlmouse", hideUnsupportedPollingRates: true, forceShowBattery: true }, + ui: { + family: "wlmouse", + hideUnsupportedPollingRates: true, + forceShowBattery: true, + dpiStageEditor: { maxStages: 6, countEditable: true, minDpi: 50, maxDpi: 30000, stepDpi: 50 }, + }, batteryPercent: 91, batteryState: "Charging", dpi: 800, dpiY: 800, + dpiStages: [400, 800, 1600, 3200], + activeDpiStage: 1, supportsSeparateDpiAxes: true, pollingRateHz: 8000, supportedPollingRates: [125, 250, 500, 1000, 2000, 4000, 8000],