We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be more convenient if we can pass LRemote UI controls in to an {} constructor or array initializers to chain creations together.
The text was updated successfully, but these errors were encountered:
Possible implementation
void LRemote_addControls(std::vector<LRemoteUIControl *> lists) { for (auto control : lists) { LRemote.addControl(*control); } }
Sample usage
LRemote_addControls({ &buttonForward, &buttonBackward, &buttonTL, &buttonTR, &buttonSL, &buttonSR, &buttonRun, &buttonClimb, &buttonRotateX, &buttonRotateY, &buttonRotateZ, &buttonTwist, });
detail usage can be found at: https://github.com/SmallpTsai/hexapod-v2-7697/blob/master/software/hexapod7697/src/normal_mode.cpp
Sorry, something went wrong.
pablosun
No branches or pull requests
It would be more convenient if we can pass LRemote UI controls in to an {} constructor or array initializers to chain creations together.
The text was updated successfully, but these errors were encountered: