Skip to content

Add controller rumble from GFN input channel#371

Merged
zortos293 merged 4 commits into
devfrom
capy/controller-rumble-feedback
Apr 28, 2026
Merged

Add controller rumble from GFN input channel#371
zortos293 merged 4 commits into
devfrom
capy/controller-rumble-feedback

Conversation

@zortos293
Copy link
Copy Markdown
Collaborator

@zortos293 zortos293 commented Apr 28, 2026

Summary

  • Extend reliable input channel message handling to dispatch post-handshake messages through new haptics parsers instead of ignoring them
  • Add official GFN-compatible parsing for legacy haptic packets and v3+ sub-message wrappers that rumble commands
  • Apply rumble through browser Gamepad API using dual-rumble actuators with official 0-65535 magnitude scaling
  • Track per-controller rumble state/timestamps and throttle nonzero effects to 500ms while allowing stop commands immediately
  • Stop active rumble and clear state on gamepad disconnect, input capture detach, and peer cleanup
  • Add rate-limited diagnostics for haptics support and malformed/unknown haptic messages

Open OPE-080 OPE-080

…er Gamepad API

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@zortos293 zortos293 added the capy Generated by capy.ai label Apr 28, 2026 — with Capy AI
@zortos293
Copy link
Copy Markdown
Collaborator Author

Needs testin

zortos293 and others added 3 commits April 28, 2026 16:36
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@zortos293 zortos293 merged commit 60fe8ca into dev Apr 28, 2026
9 checks passed
@zortos293 zortos293 deleted the capy/controller-rumble-feedback branch April 28, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

capy Generated by capy.ai

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant