-
Notifications
You must be signed in to change notification settings - Fork 19
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
Command lightbar on
overrides command lightbar [0-255]
-> Remains ONLY BLUE
#12
Comments
Does this help? diff --git a/main.c b/main.c
index dfe9f3a..a163320 100644
--- a/main.c
+++ b/main.c
@@ -489,6 +489,9 @@ static int command_lightbar3(struct dualsense *ds, uint8_t red, uint8_t green, u
rp.common->lightbar_green = brightness * green / max_brightness;
rp.common->lightbar_blue = brightness * blue / max_brightness;
+ rp.common->valid_flag2 = DS_OUTPUT_VALID_FLAG2_LIGHTBAR_SETUP_CONTROL_ENABLE;
+ rp.common->lightbar_setup = DS_OUTPUT_LIGHTBAR_SETUP_LIGHT_ON;
+
dualsense_send_output_report(ds, &rp);
return 0; |
I do not entirely understand ... Did you remove lines 480-488:
Then moved from 479 to 488:
And added 492-493:
Because I added 492-493:
After 479-490:
Please send the fully changed file |
That patch doesn't work. It needs to query the current state (=color) to avoid overwriting previously set values. |
Have the same issue hardware: 617, firmware: 1050024 |
As mentioned,
dualsensectl lightbar on
overridesdualsensectl lightbar 255 255 255 255
->WHITE colour
this makes changing colors and brightness on the controller impossible . . .The only way to change colors is to use
dualsensectl lightbar off
and thendualsensectl lightbar [0-255]
...................dualsensectl lightbar 0 0 0 0
turns off the lightbar too, but in another sense.The text was updated successfully, but these errors were encountered: