mirror of
https://github.com/safijari/openpuck.git
synced 2026-11-03 22:30:22 +00:00
[PR #245] Add per-section reset-to-defaults buttons in WebUSB panel #255
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#255
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/245
Author: @nabaxo
Created: 8/22/2026
Status: 🔄 Open
Base:
main← Head:panel-reset-defaults📝 Commits (2)
5a96ecfAdd per-section "reset to defaults" buttons to WebUSB panel714d3e4Better reactivity📊 Changes
1 file changed (+140 additions, -0 deletions)
View changed files
📝
docs/index.html(+140 -0)📄 Description
Summary
setField()WebUSB pathbetaPopup()pattern) before writingconfig.cppDetails
DEFAULTSconstant mirrors firmware defaults fromconfig.cpp(chords, mouse div/friction, rumble scale/style, gyro mapping, per-type back/qam/abSwap/padHaptics/led/rumble/padStick)updateResetButtons(p)runs at the end ofapplyBlob(), comparing raw blob bytes against defaults to enable/disable each buttonbuildTypeCfgs()alongside existing controlsTest plan
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.