feat(remap): on-dongle button remapping over 0xF6/0xF7
16-entry source→target table in its own flash sector (-3, magic DS5\x03), identity default, 0xFF = disabled. Applied to the OUTGOING host report copy only — raw interrupt_in_data (OLED screens + PS+Mute reboot combo) stays physical. Edited via the existing 0xF6/0xF7 vendor reports with a hardened RM+version frame (no HID-descriptor change, so Windows enumeration is unaffected) plus a revision counter the host polls to confirm a write. Apply logic + button set ported from SundayMoments/DS5_Bridge (credit). scripts/remap_test.py exercises the path over /dev/hidraw without the web tool. Verified on hardware: swap applied, read back, survived reboot. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
da63e2bb72
commit
1b1944c006
@@ -90,6 +90,7 @@ add_executable(ds5-bridge
|
||||
src/state_mgr.cpp
|
||||
src/oled.cpp
|
||||
src/slots.cpp
|
||||
src/remap.cpp
|
||||
)
|
||||
|
||||
if (ENABLE_BATT_LED)
|
||||
|
||||
Reference in New Issue
Block a user