mirror of
https://github.com/safijari/openpuck.git
synced 2026-11-03 22:30:22 +00:00
[PR #31] [CLOSED] LED control, shutdown control, and battery level #160
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#160
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/31
Author: @safijari
Created: 6/12/2026
Status: ❌ Closed
Base:
main← Head:more-buzz-and-quit📝 Commits (10+)
a0253caAdd sniffer for debugging4f25f1badd pairtuia55fffesniffer readmebf49c5fShut off and LED brightness commands now work88d1472battery readout works now22e54b5Fix gyro buga4b50e1factory reset on flash65116fdbuild info in webusbb3cfd47proper reset + buzz fix3d47fectrue haptics fix with fallback?📊 Changes
31 files changed (+2328 additions, -89 deletions)
View changed files
📝
.gitignore(+7 -0)📝
OpenPuck/OpenPuck.ino(+6 -0)➕
OpenPuck/build_info.h(+22 -0)📝
OpenPuck/config.cpp(+39 -3)📝
OpenPuck/config.h(+19 -0)📝
OpenPuck/controllers.h(+4 -0)📝
OpenPuck/gamepad_util.cpp(+1 -1)📝
OpenPuck/haptics.cpp(+92 -33)📝
OpenPuck/haptics.h(+18 -1)📝
OpenPuck/mode_hidgyro.cpp(+32 -0)📝
OpenPuck/mode_ps5.cpp(+39 -0)📝
OpenPuck/puck_hid.cpp(+25 -18)📝
OpenPuck/puck_hid.h(+1 -0)📝
OpenPuck/radio.cpp(+3 -2)📝
OpenPuck/radio.h(+1 -1)📝
OpenPuck/rf_link.cpp(+35 -3)📝
OpenPuck/rf_link.h(+8 -5)📝
OpenPuck/serial_console.cpp(+6 -1)📝
OpenPuck/webusb_config.cpp(+32 -6)📝
docs/BUILD_AND_DEPLOY.md(+25 -3)...and 11 more files
📄 Description
This PR adds LED brightness control, controller shutdown control through both Steam + Y chord and steam UI, controller shutdown on host suspend, and proper battery level indicator. It might also have more fixes for haptics, hard to tell.
It also adds some dev utilities like a sniffer to pick up traffic between the official puck and the controller as well as a utility to pair the controller without involving steam (and also to read the connection UUID which is necessary for sniffing)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.