[PR #22] [MERGED] Refactor and reorganize the code #164

Closed
opened 2026-10-22 05:06:54 +00:00 by roman · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/safijari/openpuck/pull/22
Author: @safijari
Created: 6/9/2026
Status: ✅ Merged
Merged: 6/10/2026
Merged by: @safijari

Base: main ← Head: rearchitecture


📝 Commits (10+)

📊 Changes

45 files changed (+3060 additions, -1967 deletions)

View changed files

➕ ARCHITECTURE.md (+280 -0)
📝 OpenPuck/OpenPuck.ino (+59 -1967)
➕ OpenPuck/bonds.cpp (+30 -0)
➕ OpenPuck/bonds.h (+24 -0)
➕ OpenPuck/config.cpp (+66 -0)
➕ OpenPuck/config.h (+55 -0)
➕ OpenPuck/controllers.cpp (+26 -0)
➕ OpenPuck/controllers.h (+34 -0)
➕ OpenPuck/gamepad_util.cpp (+87 -0)
➕ OpenPuck/gamepad_util.h (+29 -0)
➕ OpenPuck/haptics.cpp (+106 -0)
➕ OpenPuck/haptics.h (+43 -0)
➕ OpenPuck/identity.cpp (+18 -0)
➕ OpenPuck/identity.h (+15 -0)
➕ OpenPuck/mode_hidgyro.cpp (+71 -0)
➕ OpenPuck/mode_hidgyro.h (+14 -0)
➕ OpenPuck/mode_lizard.cpp (+56 -0)
➕ OpenPuck/mode_lizard.h (+13 -0)
➕ OpenPuck/mode_ps5.cpp (+73 -0)
➕ OpenPuck/mode_ps5.h (+14 -0)

...and 25 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/safijari/openpuck/pull/22 **Author:** [@safijari](https://github.com/safijari) **Created:** 6/9/2026 **Status:** ✅ Merged **Merged:** 6/10/2026 **Merged by:** [@safijari](https://github.com/safijari) **Base:** `main` ← **Head:** `rearchitecture` --- ### 📝 Commits (10+) - [`a752b06`](https://github.com/safijari/openpuck/commit/a752b063595c6a9035429b43bfa727d2e0a629a8) Biiiiiiig refactor, need to review now - [`8b29802`](https://github.com/safijari/openpuck/commit/8b29802aee13b128dabae20ab44fb1a2bb154069) Fix errant wake issue - [`4b3c484`](https://github.com/safijari/openpuck/commit/4b3c4848cda18c31667e417d14b4448ddd9391b2) Explicit wake configuration - [`9b1ef70`](https://github.com/safijari/openpuck/commit/9b1ef70bfcf7192db228ad9d3527964a03f7a081) Try mouse child devices for wake - [`df0dad2`](https://github.com/safijari/openpuck/commit/df0dad2d200138f1307df478e9a8574683fa8261) trying another way for wake - [`22277e1`](https://github.com/safijari/openpuck/commit/22277e16cf73b8ee278bce5d83090bb799e12622) led status - [`9ba61f6`](https://github.com/safijari/openpuck/commit/9ba61f6ed58ace0374b3030159cf87f528b29623) more descriptive led - [`d9bf678`](https://github.com/safijari/openpuck/commit/d9bf678d15828b154a8c8535d799a9744f827de2) drop debug for wake - [`7590279`](https://github.com/safijari/openpuck/commit/75902791ef71428a3bf301dff5ad843c08298c03) Better LED modes - [`0236d19`](https://github.com/safijari/openpuck/commit/0236d19020ad88faa4a328b722995f0964c236f9) make wake less kitchen-sinky ### 📊 Changes **45 files changed** (+3060 additions, -1967 deletions) <details> <summary>View changed files</summary> ➕ `ARCHITECTURE.md` (+280 -0) 📝 `OpenPuck/OpenPuck.ino` (+59 -1967) ➕ `OpenPuck/bonds.cpp` (+30 -0) ➕ `OpenPuck/bonds.h` (+24 -0) ➕ `OpenPuck/config.cpp` (+66 -0) ➕ `OpenPuck/config.h` (+55 -0) ➕ `OpenPuck/controllers.cpp` (+26 -0) ➕ `OpenPuck/controllers.h` (+34 -0) ➕ `OpenPuck/gamepad_util.cpp` (+87 -0) ➕ `OpenPuck/gamepad_util.h` (+29 -0) ➕ `OpenPuck/haptics.cpp` (+106 -0) ➕ `OpenPuck/haptics.h` (+43 -0) ➕ `OpenPuck/identity.cpp` (+18 -0) ➕ `OpenPuck/identity.h` (+15 -0) ➕ `OpenPuck/mode_hidgyro.cpp` (+71 -0) ➕ `OpenPuck/mode_hidgyro.h` (+14 -0) ➕ `OpenPuck/mode_lizard.cpp` (+56 -0) ➕ `OpenPuck/mode_lizard.h` (+13 -0) ➕ `OpenPuck/mode_ps5.cpp` (+73 -0) ➕ `OpenPuck/mode_ps5.h` (+14 -0) _...and 25 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
roman 2026-10-22 05:06:54 +00:00
Sign in to join this conversation.
No labels
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
safijari/openpuck#164
No description provided.