-
Notifications
You must be signed in to change notification settings - Fork 5
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
Comments
please attach the sketch that reproduces the bug |
Ricardo,
You will need to change the following to match your MAC PS4 controller address:
byte AllowedAddress [ 6 ]= { 0x 88 ,0x 03 ,0x 4c ,0x 2d ,0x f2 ,0x 3b } ;
commandparse () is where you can issue discrete commands.
The example code that is included with the Arduino library exabits the same behavior. I haven't tried a different RP2040/NINI Nano.
Thank You :)
Paul
From: "Ricardo Quesada" ***@***.***>
To: "ricardoquesada/bluepad32-arduino" ***@***.***>
Cc: "paulpankratz" ***@***.***>, "Author" ***@***.***>
Sent: Tuesday, December 5, 2023 5:25:01 PM
Subject: Re: [ricardoquesada/bluepad32-arduino] Bluepad32 cannot disconnect() arbitrary controllers under Arduino environment. (Issue #8)
please attach the sketch that reproduces the bug
—
Reply to this email directly, [ #8 (comment) | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/BEPP6QPRAKUAIDCVWJESR7LYH7CO3AVCNFSM6AAAAABAIKTDLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBRHEZDINZXGI | unsubscribe ] .
You are receiving this because you authored the thread. Message ID: ***@***.***>
|
if you don't mind, please attach the entire sketch. thanks |
Sorry, I was responding to the automatically generated email thinking you would get it. I have attached it here :) |
I have this issue with a generic esp32 dev board, here's the project |
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. |
That's great news! I was going to reach out in the next couple of days to see how you were progressing :) |
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
The text was updated successfully, but these errors were encountered: