mirror of
https://github.com/safijari/openpuck.git
synced 2026-11-04 06:34:45 +00:00
[PR #174] [MERGED] Add BACK4+DPAD mode-switch chords (PS3/PS4/PS5/HORI) #233
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#233
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/174
Author: @Copilot
Created: 7/15/2026
Status: ✅ Merged
Merged: 7/29/2026
Merged by: @safijari
Base:
main← Head:copilot/170-add-controller-mapping📝 Commits (4)
80d6159Add BACK4+DPAD mode-switch chords for PS3/PS4/PS5/HORId27323fMerge branch 'main' into copilot/170-add-controller-mapping303dc02Working now57dbc85fmt📊 Changes
10 files changed (+145 additions, -30 deletions)
View changed files
📝
CODE_MAP.md(+7 -5)📝
OpenPuck/config.cpp(+32 -3)📝
OpenPuck/config.h(+8 -0)📝
OpenPuck/gamepad_util.cpp(+2 -1)📝
OpenPuck/mode_switch_hori.cpp(+3 -2)📝
OpenPuck/mode_switch_pro.cpp(+2 -1)📝
OpenPuck/rf_link.cpp(+27 -3)📝
OpenPuck/webusb_config.cpp(+19 -3)📝
docs/TESTING_GUIDE.md(+2 -1)📝
docs/index.html(+43 -11)📄 Description
Extends the existing BACK4+face-button chord system with four fixed DPAD shortcuts for the console controller personalities.
MODE_PS3)MODE_DS4_GAME)MODE_PS5_GAME)MODE_SW_HORI)Changes
rf_link.cpp— fourelse ifbranches added to the chord detector after the existing A/B/X/Y checks; raw-report mask extended to scrub DPAD bits fromrep[3]when BACK4 is held (prevents direction leaking through to Xbox/puck PUSH modes)gamepad_util.cpp—psButtonsFromSteamBACK4 mask gains all four DPAD bits (shared path for PS3, PS5, DS4, HIDGYRO)mode_switch_hori.cpp,mode_switch_pro.cpp— per-mode BACK4 masks likewise extended with DPAD bits🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.