diff --git a/src/device/traits.ts b/src/device/traits.ts index fb047ef4..788a1fc0 100644 --- a/src/device/traits.ts +++ b/src/device/traits.ts @@ -105,6 +105,9 @@ const BY_FAMILY: Readonly>> = { // Model O/D Wireless: the protocol driver already implements MXW's // per-profile debounce command through setDebounceTime. "glorious-classic": { advancedSection: true, debounce: true }, + // The original wired Model I reads and writes debounce through the same + // combined performance write as its DPI table; no sleep or signal command. + "glorious-model-i": { advancedSection: true, debounce: true }, // Incott supports a 0-30 ms debounce and a 1-900 s sleep timer over its own // vendor protocol, not the CompX direct-mode transport, so it takes the // plain flags rather than DIRECT_MODE (its advancedSection already comes diff --git a/src/features/devices/cards/availability.test.ts b/src/features/devices/cards/availability.test.ts index 10e498b8..04df7715 100644 --- a/src/features/devices/cards/availability.test.ts +++ b/src/features/devices/cards/availability.test.ts @@ -817,6 +817,29 @@ test("the Glorious Model O2 Pro 4K/8K opens debounce, Motion Sync and the profil assert.equal(cards.signal, false); }); +test("the original Glorious Model I opens debounce and the profile card, but not processing, sleep or signal", () => { + const cards = cardAvailability(snapshot({ + status: { + brand: "Glorious", + ui: { + family: "glorious-model-i", + showAdvancedSection: true, + hideProcessingCard: true, + hideSleepCard: true, + hideSignalCard: true, + }, + debounceMs: 0, + activeProfile: 1, + profileCount: 3, + }, + })); + assert.equal(cards.debounce, true); + assert.equal(cards.onboardProfiles, true); + assert.equal(cards.processing, false); + assert.equal(cards.sleep, false); + assert.equal(cards.signal, false); +}); + /** * The GM3 publishes both settings from its vendor configuration block. Its * advanced section comes from `ui.showAdvancedSection`, but the cards are