Skip to content

v1.0.2 — drag-and-drop fix

Choose a tag to compare

@twolven twolven released this 14 Jul 04:59
· 3 commits to main since this release

Fixed

  • Drag-and-drop released after ~2s: the relay's Pi-health probe (sent every 2s with buttons=0) was written to the HID as real input, force-releasing any held button. The pump now treats probes (seq 0xFFFE) as echo-only — they never touch HID state or the seq-gap loss stats (which they were also polluting with fake 25–53% loss spikes).
  • Click grace fired the press late mid-drag: the v1.0.1 focus click-grace masked all buttons by time, so a click-drag started as the streaming window gained focus sent its press 300ms late, mid-motion. Grace now suppresses only the focus-gaining press itself, until its own physical release.

Changed

  • Pump failsafe 0.3s → 1.0s (real streams showed 456ms keepalive gaps; failsafe is crash-safety only — the agent releases explicitly on focus loss).
  • Button diagnostics on both ends: holds ≥300ms log their duration on release (agent + pump), suppressed presses and mid-hold focus theft are logged with the stealing window's title.
  • start-agent.cmd uses the full exe path (bare-name cwd lookup breaks under NoDefaultCurrentDirectoryInExePath).

Updating

  • Local PC: replace mousebridge-agent.exe and start-agent.cmd in %USERPROFILE%\MouseBridge (stop the agent + its wrapper loop first).
  • Pi: rerun the installer (or copy pi/hidpump.py to /opt/mousebridge/) and sudo systemctl restart hidpump.
  • Relay (remote PC): unchanged — v1.0.1 relay works as-is.

Also in this build

  • Agent: fractional carry for high-res/free-spin wheel deltas (floor division dropped sub-notch up-scrolls and over-fired down-scrolls; commit e5beacb).