mirror of
https://github.com/safijari/openpuck.git
synced 2026-11-04 06:34:45 +00:00
[PR #311] [MERGED] WebUSB panel: clone pairings from an official puck #282
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#282
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/311
Author: @minijaws
Created: 10/10/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @safijari
Base:
main← Head:clone-official-puck📝 Commits (1)
fd92babAdd "Clone pairings from an official puck" to the WebUSB panel📊 Changes
1 file changed (+156 additions, -1 deletions)
View changed files
📝
docs/index.html(+156 -1)📄 Description
Adds a Clone from an official puck section to the Backup & clone card in the WebUSB panel. It copies the controller pairings off a Valve puck onto an OpenPuck, so controllers paired to the official puck connect to the OpenPuck without re-pairing.
How it works
0xA3bond read Steam uses (feature report 2 on each slot interface). The official puck answers it with the 24-byte bond record. The controller only checks the record's two UUIDs over the air, so the copy is enough for it to connect.0x0D/0x0Eimport commands, into free slots only. Existing pairings and settings are kept, and the OpenPuck reboots to apply.localStorage. You read the official puck, unplug it, plug in and connect the OpenPuck, then write. While no OpenPuck is connected, the section shows as a standalone card at the top, since the Backup card is hidden until something connects.Tested on macOS with Chrome, a nice!nano running 0.9.51 and an official puck, using a single cable. Step 1 read 1 pairing; after swapping the cable, step 2 wrote it to slot 0. The controller then connected to the nice!nano without re-pairing. Reading from a puck that already has the pairing correctly reported "nothing to do". The wrong-entry hint for the two-cable case hasn't been tested on hardware yet.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.