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

Allow control of the HOME button led #3

Open
sm-Fifteen opened this issue Feb 21, 2017 · 2 comments
Open

Allow control of the HOME button led #3

sm-Fifteen opened this issue Feb 21, 2017 · 2 comments

Comments

@sm-Fifteen
Copy link
Owner

Why not?

It can't be sent in the same packet as haptic feedback data, but it can be adjusted as a percentage value. Whether this can be done with an acceptable or predictable latency remains to be seen, however, there seems to be a delay of at least half a second when using the Big Picture configurator.

@sm-Fifteen
Copy link
Owner Author

Note that the method for setting led color/intensity, just like the one for setting rumble intensity, seems to have an nFlags byte reserved, which is probably what that unused byte is for (with intensity being a uint8).

void SetLEDColor( ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags )

@sm-Fifteen
Copy link
Owner Author

Maybe have an option in the parameters to specify a channel as the LED control one. Variations of the volume on that channel would change the LED accordingly. This would be rather convenient too, since both values are expressed in percents.

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

1 participant