Skip to content

feat(ui/mouse): forward mouse X1/X2 buttons to remote#1473

Merged
adamshiervani merged 1 commit into
jetkvm:devfrom
Caedis:caedis/mouseButtons
May 25, 2026
Merged

feat(ui/mouse): forward mouse X1/X2 buttons to remote#1473
adamshiervani merged 1 commit into
jetkvm:devfrom
Caedis:caedis/mouseButtons

Conversation

@Caedis
Copy link
Copy Markdown
Contributor

@Caedis Caedis commented May 20, 2026

Closes #172

Summary

Browser default Back/Forward nav was eating buttons 4/5 before the HID path ever saw them.
Suppress nav with mousedown/mouseup/auxclick preventDefault, and mask buttons to bits 0..4 so pen-eraser and any future high bits don't leak onto the wire.
HID descriptors and RPC already carry the full byte; no backend change needed.

Checklist

  • Ran make test_e2e locally and passed
  • Linked to issue(s) above by issue number (e.g. Closes #<issue-number>)
  • One problem per PR (no unrelated changes)
  • Lints pass; CI green
  • Tricky parts are commented in code

Browser default Back/Forward nav was eating buttons 4/5 before the HID
path ever saw them.
Suppress nav with mousedown/mouseup/auxclick preventDefault, and mask
buttons to bits 0..4 so pen-eraser and any future high bits don't leak
onto the wire.
HID descriptors and RPC already carry the full byte; no backend change
needed.
@adamshiervani adamshiervani merged commit 93029a0 into jetkvm:dev May 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support back button passthrough

2 participants