mirror of
https://github.com/safijari/openpuck.git
synced 2026-11-03 22:30:22 +00:00
[PR #133] [MERGED] Add per-type rumble disable for emulated controller modes #218
Labels
No labels
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
safijari/openpuck#218
Loading…
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?
📋 Pull Request Information
Original PR: https://github.com/safijari/openpuck/pull/133
Author: @Copilot
Created: 7/5/2026
Status: ✅ Merged
Merged: 7/6/2026
Merged by: @safijari
Base:
main← Head:copilot/add-disable-rumble-option📝 Commits (3)
77437e4Add per-type rumble disable for emulated controller modes4292b95Fix comment: use v17 (not v10/v17) for per-type blob layout5e1d221Merge branch 'main' into copilot/add-disable-rumble-option📊 Changes
6 files changed (+138 additions, -114 deletions)
View changed files
📝
OpenPuck/config.cpp(+10 -6)📝
OpenPuck/config.h(+4 -0)📝
OpenPuck/haptics.cpp(+3 -0)📝
OpenPuck/mode_xinput.cpp(+9 -6)📝
OpenPuck/webusb_config.cpp(+61 -56)📝
docs/index.html(+51 -46)📄 Description
Emulated controller modes (Xbox, Switch, DS4, DS5) had no way to suppress host rumble relay per-type — only a global amplitude scale existed. This adds a
rumbletoggle toTypeCfg, parallel topadHaptics.Firmware
TypeCfggainsuint8_t rumble(1 = enabled, default).g_rumblelive mirror added;applyActiveType()refreshes it.CFG_MAGICbumped to0xCF— old flash discarded on first boot.hapticSteamRumble(): drops ON commands wheng_rumble = 0; zero/stop passes through to clear in-flight relay.mode_xinput.cpp: skipsrumbleLow/rumbleHightracking when disabled, preventing the stuck-rumble watchdog from firing spurious stop frames.WebUSB protocol (v17)
WB_PAYLEN: 176 → 180. Protocol version: 16 → 17.Panel (
docs/index.html)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.