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

GamePad with 2 battery level #215

Open
Gabry11 opened this issue Mar 27, 2024 · 4 comments
Open

GamePad with 2 battery level #215

Gabry11 opened this issue Mar 27, 2024 · 4 comments

Comments

@Gabry11
Copy link

Gabry11 commented Mar 27, 2024

hi, it's possible to view 2 battery level info like a couple of ear buds?

@lemmingDev
Copy link
Owner

Don't really see a use case
What would you use it for?

@Gabry11
Copy link
Author

Gabry11 commented Mar 28, 2024

I'm creating two twin gamepads, inspired by the old Nintendo Wii controllers. Each gamepad, right and left, has its own dedicated battery and processor. Therefore, the controllers communicate with each other, but only one connects to the PC via Bluetooth Low Energy (BLE), simulating the inputs of both controllers. I would like to be able to monitor the battery level of both gamepads, similar to how it's done with Bluetooth in-ear headphones.

@LeeNX
Copy link

LeeNX commented Sep 14, 2024

@Gabry11 can you see both earbuds in something like the Bluetooth controller and each battery level independent of each other? Did you need to install software to get this info? I don't think I have seen any HID descriptors for additional batteries.

Maybe if you got the HID report descriptors, we could see how it was done.

@LeeNX
Copy link

LeeNX commented Sep 15, 2024

Was thinking about how would you expect this info to be present by the host OS? We can add almost any services and/or characteristic, but most host OSs might not present this info to you, then reason I ask if you had seen this with an App or if your host OS did display this info and what it would look like. I could see how this could be present on Android with something like the Bat ON App, which now looks like it has been abandoned, bugger. Here is a video - BatON for Android

I could see how that might be useful on something like RetroPi or something, but now I am getting a little carried away.

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