Skip to content

revert #1731 and gate the bluez headers properly.#1852

Open
Squall-Leonhart wants to merge 3 commits intocemu-project:mainfrom
Squall-Leonhart:pairingbutton
Open

revert #1731 and gate the bluez headers properly.#1852
Squall-Leonhart wants to merge 3 commits intocemu-project:mainfrom
Squall-Leonhart:pairingbutton

Conversation

@Squall-Leonhart
Copy link
Copy Markdown

@Squall-Leonhart Squall-Leonhart commented Mar 28, 2026

#1731 took a sledge hammer to the pairing button and skipped it entirely by build gating it behind linux only libraries, when those linux only libraries exist in an attempt to prevent builds failing on distro's lacking the bluetooth headers provided by bluez.

This reverts that and properly gates the headers behind the HAS_BLUEZ definition.

second commit improves initial pairing with RVL-CNT-01-TR controllers, starts hid if authenticated(implies remembered), drops the unpairs and re-pairs the wiimote if remembered but not authenticated.

adds a retry with an alternative wiimote side pin (can help with 1+2 pairing)
and closes handles that were previously being leaked.

Fixes the wiimote settings gui (#1854)

1731 took a sledge hammer to the pairing button and skipped it entirely by build gating it behind linux only libraries, when those linux only libraries exist in an attempt to prevent builds failing on distro's lacking the bluetooth headers provided by bluez.

This reverts that and properly gates the headers behind the HAS_BLUEZ definition.
@Squall-Leonhart
Copy link
Copy Markdown
Author

while im here in these files i'll also test skipping authentication for already paired controllers, it seems to be the reason for instant skip to failure on windows and push that along with this.

Squall-Leonhart added 2 commits March 28, 2026 23:08
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