Repository navigation
Conversation
…eivers A Lamzu Maya behind its 4K receiver (0x3554:0xf510) answered 0 of 3 status reads on Windows while every vendor collection was open, and 3 of 3 with only 0xff02, the same behaviour the Scyrox dongle rule already handles. Narrowing applies to Lamzu devices on CompX's 0x3554 only; Lamzu's 0x373e and 0x37b0 models use feature reports and stay opened whole.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — Limits CompX-based Lamzu receivers to their configuration collection while preserving other devices’ behavior. The change reuses existing filtering and is supported by targeted tests and reported Windows hardware results. Notes:
You can add or adjust custom eligibility rules. Learn more. |
Summary
Bridge could not read a Lamzu Maya through its 4K receiver (
3554:f510) on Windows, so the tray battery and native profile writes failed whenever no OpenMouse tab held the session.It is the same receiver behaviour
ONLY_USAGE_PAGEalready handles for Scyrox: with every vendor collection of interface 1 open, the receiver stops answering on its0xff02config collection.This extends that rule to Lamzu devices on CompX's vendor id
0x3554(the Atlantis generation, which includes the Maya).Lamzu's
0x373eand0x37b0models talk through feature reports on other collections, so the rule is keyed by vendor id and leaves them opened whole.ONLY_USAGE_PAGEbecomes a small rule list with an optional vendor id, read throughonlyUsagePageFor(driver, described); the Scyrox behaviour is unchanged.Evidence (Windows 10, Maya firmware 1.24, receiver release
0x0128)The real
LamzuAtlantisHidClient, called through this package's own adapters:readStatus()0xff02Order was reversed in a second run with the same result, and a direct read on
0xff02answered immediately before and after, so the misses are not the mouse sleeping.Installed Bridge 1.0.4 (per-user installer, debug log):
no Lamzu device answered ... Command 0x04 got no answeronLamzu:3554:f510(0 of 5).registry.mjs(and the matching protocol build): polls recorded the mouse natively,"native": true, 3 of 4 on restart plus later polls while in use; the one miss was a single first poll that two more runs did not repeat.The OpenMouse web app using Bridge as its transport already worked before this change (Rust side), so it is unaffected.
Related
This PR does not depend on it: with today's protocol the receiver is read and reported as "Lamzu Atlantis".
Checks
npm testinnative-hid: 47 of 47 pass, including two new tests (the rule table, and a Lamzu receiver on0x3554opening only its0xff02path).npm cihere currently fails building the git-pinned@openmouse/keyboard-protocolv1.8.0 (src/drivers/wuque/hid.ts(1251,5): Type 'Timeout' is not assignable to type 'number'); I tested with the published npm build of the same version overlaid with--no-save.Note
Restrict Lamzu CompX receivers to their 0xff02 config collection in
native-hid0x3554onlyUsagePageFor, which normalizes the driver brand viabrandKey, matches the first rule, and returns its usage page (0xff02) orundefinedregistryPairsnow passes the usage-page restriction fromonlyUsagePageFor(driver, described)to the Adapter, so only matching Lamzu CompX receivers and Scyrox devices open their config collection0x3554(e.g.0x373e,0x37b0) now receive no usage-page restriction; previously all Lamzu-branded devices were narrowed to0xff02Macroscope summarized 87f7736.
Summary by CodeRabbit