Skip to content

feat(mchose): support the Ace 68 V2 III keyboard - #70

Merged
onyxhq-dev merged 16 commits into
OpenMouse-Project:mainfrom
Snowy-Fluffy:feat/mchose-lighting
Dec 4, 2026
Merged

onyxhq-dev merged 16 commits into
OpenMouse-Project:mainfrom
Snowy-Fluffy:feat/mchose-lighting

fix(mchose): second round of review findings

b989764
Select commit
Loading
Failed to load commit list.
MacroscopeApp / Macroscope - Correctness Check succeeded Dec 4, 2026 in 3m 40s

No issues identified (5 code objects reviewed).

• Reviewed files modified since 45013c1; other PR files not modified since then were skipped.
• Merge Base: 8b35805
• Head: b989764
• Detection Mode: Balanced (Learn more)

Details

✅ File Path U3 Bytes Comments Posted Reason
✅ gpui/js/keyboard-mchose.ts 4456 0
✅ gpui/js/keyboard-mchose-advanced.ts 1821 0
✅ gpui/src/hid.rs 1370 0
✅ gpui/src/app/device_io.rs 700 0
✅ gpui/js/keyboards.ts 568 0

Billed Total: 10.00KB of diff | $0.50 (This review was charged at our per-review byte minimum of 10.00KB. Learn more here)

Filtered Issues Details

gpui/js/keyboard-mchose-advanced.ts
  • line 63: A full slot table prevents replacing an existing assignment even when that key is the only user of its old slot. For example, assign 32 distinct toggle targets (the picker offers 34), then change one key to an unused target: the empty-slot search fails before its old slot can be released, so the edit throws despite needing no additional final slot. The mod-tap path has the same problem. Reuse the replaced key's slot when it has no other references, or reclaim it safely before allocating. [ Out of scope ]
  • line 149: formatMacro emits tokens that parseMacro cannot read for valid existing steps. For example, right Ctrl (usage 0xe4) becomes Key228, and mouse Back (code 8) becomes Button8; neither is accepted by codeOf. Opening a macro created with those keys in the vendor app and editing its text therefore makes saving fail with “Unknown key”. The pinned keyboard-protocol v1.10.0 src/mchose/macro.ts explicitly supports modifiers 0xe0–0xe7 and mouse bits 8/16. Add reversible names for these valid steps. [ Out of scope ]