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

quick connection to one gamepad #63

Open
Daget84 opened this issue Jan 21, 2024 · 1 comment
Open

quick connection to one gamepad #63

Daget84 opened this issue Jan 21, 2024 · 1 comment

Comments

@Daget84
Copy link

Daget84 commented Jan 21, 2024

I made 8 cars for the kids that were controlled by gamepads; when they turn on the controls at the same time, it gets confusing. it becomes unclear which gamepad controls the car.

I would like to indicate in the firmware which gamepad the controller should work with. so that the controller does not search for all gamepads, but connects only to its own.

Now we have to turn on the machines one by one. It is difficult to explain to young children that they cannot turn on the machine and need to wait.

@ricardoquesada
Copy link
Owner

for Bluepad32 v3.x (the latest stable version) you can call the uni_bt_allowlist API.

https://gitlab.com/ricardoquesada/bluepad32/-/blob/main/src/components/bluepad32/include/uni_bt_allowlist.h

In v4, in addition to that API, you will be able to set allowed clients from a phone application

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

2 participants