mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6604] [Feature]: preserve haptic intensity semantics before Buttplug v5 upgrade #3697
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3697
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Sep 24, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6604
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
The manifest-only Buttplug 4.0.1 → 5.0.2 update in #6595 changes the meaning of Marinara's haptic intensity for signed output ranges.
ButtplugServicepasses normalized intensity directly toDeviceOutputValueConstructor(...).percent(intensity). With a rotation feature advertisingValue: [-100, 100], the installed libraries produce:This was reproduced locally using each actual npm package's
ButtplugClientDevice,DeviceOutput.Rotate.percent, and a captured send callback. No physical device was connected. A zero-intensity request can become full reverse output after the bare dependency bump. The upstream mapping change is intentional; Marinara must adapt its intensity semantics before upgrading.Proposed solution
Define the supported signed-output intensity/direction behavior in the Engine adapter, use the v5 feature-range metadata as needed, and add a protocol regression proving zero, midpoint, maximum, explicit stop, duration bounds, and unsupported outputs. Calibrate the resulting behavior on supported Intiface hardware before adopting v5.
Alternatives considered
Keep the existing exact 4.0.1 pin for the maintenance batch #6601 / #6602. Do not silently change direction/intensity behavior as part of a dependency-only PR.
Additional context
packages/server/src/services/haptic/buttplug-service.tspackages/server/src/services/generation/haptic-runtime.tsTemplate check
@SpicyMarinara commented on GitHub (Sep 24, 2026):
Implementation is now owned by @SpicyMarinara with Codex, following the maintainer's request to finish the deferred migrations and merge them into staging. Work is on
codex/6603-6604-runtime-migrations; the related draft PR will link both deferred issues. No other issue-linked branch or open PR was found.@SpicyMarinara commented on GitHub (Sep 24, 2026):
Implemented and merged into staging in #6606. Buttplug 5 preserves zero, signed-output direction, and each feature maximum; 100% vibration remains available across sensitivity settings. Protocol tests cover ranges, movement, partial failures, timers, and stop behavior. Physical hardware testing was explicitly skipped at the maintainer request.