On Monday 18 November 2013 00:12:14 Sven Eckelmann wrote: > > Also please make sure that setting the rumble does not change the LEDs > > status if there is any set: HID output report 1 is used for both LEDs > > and rumble. In the bluez plugin[1] I plan on setting LEDs from userspace > > to match the joystick number, just as the PS3 does, it would be strange > > for the user if a rumble event would reset the LEDs status. > > I never used the LEDs and therefore cannot say anything about it (I don't > have a specification for the used command format). Maybe I can try to play > with them next week. > > But you're patch has some comments in set_leds. Do I correctly interpret the > byte 10 in leds_report as "only make changes to following LEDs"? So setting > it to 1 would make the command not change the LEDs at all? Ok, just tried it and it seems this byte is really for the LEDs. But unfortunately, it is enabling/disabling the LEDs completely and not the configuration. And sending less bytes just lets everything fail. Kind regards, Sven
Attachment:
signature.asc
Description: This is a digitally signed message part.