Add verified Joy-Con 2 USB bridge with native mouse support
Implement the standalone USB protocol probe and Bluetooth-backed right Joy-Con bridge with its own persistent virtual pairing identity. Preserve complete ordered native reports, including opaque motion data, and match the console feature set. Relay built-in vibration cues only after genuine source acknowledgement and expose safe BOOTSEL pairing control. Include native capture diagnostics and focused protocol, packet-lifecycle, and cue regressions. Native mouse operation confirmed on Switch with bridge 0.24; private captures and firmware backups remain outside the commit.
This commit is contained in:
parent
485ad39709
commit
3040c9d294
34 changed files with 3777 additions and 15 deletions
15
tools/switch2_usb_probe/CMakeLists.txt
Normal file
15
tools/switch2_usb_probe/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
cmake_minimum_required(VERSION 3.13)
|
||||
set(PICO_BOARD pico2_w CACHE STRING "Target board")
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/../../pico_sdk_import.cmake)
|
||||
project(switch2_usb_probe C CXX ASM)
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/probe_build.cmake)
|
||||
pico_sdk_init()
|
||||
add_executable(switch2-usb-probe
|
||||
../../src/firmware/configuration/configuration_storage.cpp
|
||||
../../src/firmware/platform/pico/bootsel_pairing_button.cpp)
|
||||
target_compile_definitions(switch2-usb-probe PRIVATE
|
||||
PICO_FLASH_ASSUME_CORE1_SAFE=1 PICO_FLASH_ASSERT_ON_UNSAFE=0)
|
||||
switch2_usb_probe_configure(switch2-usb-probe)
|
||||
pico_add_extra_outputs(switch2-usb-probe)
|
||||
Loading…
Add table
Add a link
Reference in a new issue