Thread (18 messages) 18 messages, 5 authors, 2013-11-18

Re: Re: [PATCH] HID: sony: Add force feedback support for Dualshock3 USB

From: Sven Eckelmann <sven@narfation.org>
Date: 2013-11-17 23:53:28

On Monday 18 November 2013 00:12:14 Sven Eckelmann wrote:
quoted
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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help