Skip to content

Comments

Add joycon 2 support#5

Open
squirelo wants to merge 6 commits intomasterfrom
add-joycon-2-support
Open

Add joycon 2 support#5
squirelo wants to merge 6 commits intomasterfrom
add-joycon-2-support

Conversation

@squirelo
Copy link
Owner

No description provided.

squirelo added 6 commits July 18, 2025 13:22
This commit introduces functionality to detect and handle Joy-Con 2 devices in the Bluetooth firmware. It includes manufacturer ID checks, GATT characteristic discovery, and IMU sensor enabling commands. Additionally, a stub for report decoding is added, with logging for detected devices and commands sent. This enhancement allows for better integration and handling of Joy-Con 2 controllers.
This commit enhances the Bluetooth firmware by implementing storage for device information per connection, specifically for Joy-Con 2 devices. It includes logic for handling GATT discovery, enabling sensors, and decoding reports. The changes improve the integration and functionality of Joy-Con 2 controllers, ensuring proper management of connections and report processing.
This commit improves the Joy-Con 2 device detection by streamlining the manufacturer data parsing and enhancing the UUID patching process. The changes include a more efficient loop for processing advertisement data and a clearer assignment of UUID values, which enhances readability and maintainability of the code. Additionally, the return logic in the report sending function is updated for better clarity.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant