Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluepad32 cannot disconnect() arbitrary controllers under Arduino environment. #8

Closed
paulpankratz opened this issue Dec 5, 2023 · 7 comments

Comments

@paulpankratz
Copy link

When multiple controllers are connected to RP2040/NINA Nano using the disconnect() call it removes the first connected controller. Request is to alter the Arduino library to support disconnect(idx); where idx is the number of the controller from 0 to BP32_MAX_CONTROLLERS

@ricardoquesada
Copy link
Owner

please attach the sketch that reproduces the bug

@paulpankratz
Copy link
Author

paulpankratz commented Dec 6, 2023 via email

@ricardoquesada
Copy link
Owner

if you don't mind, please attach the entire sketch. thanks

@paulpankratz
Copy link
Author

Sorry, I was responding to the automatically generated email thinking you would get it. I have attached it here :)
SWAC_Wireless_Controller_PS4.zip

@wiredopposite
Copy link

I have this issue with a generic esp32 dev board, here's the project
bluepad_i2c_master.zip

@ricardoquesada
Copy link
Owner

yes. it was always disconnecting gamepad 0. fixed in develop branch here:

ricardoquesada/bluepad32@0075a5a

It will be part of v4.0... I'll release v4.0-beta0 in a few weeks.

@paulpankratz
Copy link
Author

That's great news! I was going to reach out in the next couple of days to see how you were progressing :)

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

No branches or pull requests

3 participants