mirror of
https://github.com/safijari/openpuck.git
synced 2026-11-03 22:30:22 +00:00
[PR #269] [CLOSED] Add Switch 2 Pro controller compatibility #265
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#265
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/269
Author: @ixelyth
Created: 9/3/2026
Status: ❌ Closed
Base:
main← Head:switch2pro📝 Commits (6)
8a696afAdd Switch 2 Pro controller compatibilityb9a9332Fixing stale identities5409ebcFixing input bindings9ef6d8dChanging default bindingsecce8e7Fix Switch 2 Pro clang-format whitespacecafaba6Merge upstream main into Switch 2 Pro branch📊 Changes
18 files changed (+1400 additions, -39 deletions)
View changed files
📝
Makefile(+1 -1)📝
OpenPuck/OpenPuck.ino(+21 -8)📝
OpenPuck/config.cpp(+30 -3)📝
OpenPuck/config.h(+15 -2)📝
OpenPuck/controllers.cpp(+3 -0)📝
OpenPuck/haptics.cpp(+10 -1)➕
OpenPuck/mode_switch2_pro.cpp(+1191 -0)➕
OpenPuck/mode_switch2_pro.h(+22 -0)📝
OpenPuck/mode_switch_pro.cpp(+16 -15)📝
OpenPuck/serial_console.cpp(+1 -1)📝
OpenPuck/steam_commands.h(+2 -0)📝
OpenPuck/triton.h(+3 -0)📝
OpenPuck/usb_app_drivers.cpp(+1 -0)📝
OpenPuck/usb_app_drivers.h(+1 -0)📝
OpenPuck/usb_tx.cpp(+14 -0)📝
OpenPuck/usb_tx.h(+3 -0)📝
OpenPuck/webusb_config.cpp(+26 -2)📝
docs/index.html(+40 -6)📄 Description
Addresses #255
Adds Switch 2 Pro controller emulation support and hardens the existing Nintendo input path, including controller reports, rumble behavior, mapping/configuration support, and Switch Pro state-stream handling.
You can map the GL, GR, C, Home, and View buttons like on the actual Switch 2 Pro Controller via WebUSB.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.