Skip to content

Conversation

@SiMachines
Copy link
Contributor

//example usage
if (bleGamepad.isConnected()) {
bleGamepad.setButtons32(ButtonStates >> 1); // Update all buttons at once, >> 1 if your buttons start with one
bleGamepad.setThrottle(throttle);
bleGamepad.sendReport();
}

@SiMachines SiMachines marked this pull request as draft April 23, 2025 06:19
@SiMachines SiMachines marked this pull request as ready for review April 23, 2025 06:20
@LeeNX
Copy link
Contributor

LeeNX commented Apr 25, 2025

Interesting idea, maybe the function name should not have 32 in it, might have people thinking that it can only be used with 32 buttons. How about setMultiButtons or something better?

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.

2 participants