Re: [PATCH] Support for controlling leds on xbox 360 pad.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Richard Purdie
Date: Thursday, May 31, 2007 - 9:09 am

Hi,

On Thu, 2007-05-31 at 17:53 +0200, Jan Kratochvil wrote:

:)

This hadn't gone unnoticed by me and I didn't like it either at first
however I had a look at the hardware specs and your summary below is
pretty accurate...


Since the commands are so device specific and no new device will be the
same, I doubt this is worth doing (or possible) in a generic way so
you're back to a).


If you expose 4 leds, you break the API badly as only one can be active.
That is worse than using the brightness parameter IMO.


After consideration, I agree with your approach of using the brightness
and I don't have a better suggestion. Its not ideal but its a good
compromise since it doesn't really impose any limitations on your use of
the hardware but doesn't need a custom implementation which is the
alternative. The mode is still a kind of brightness setting if you twist
the definition a bit ;-).

Cheers,

Richard


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Support for controlling leds on xbox 360 pad., Jan Kratochvil, (Tue May 29, 2:11 pm)
Re: [PATCH] Support for controlling leds on xbox 360 pad., Jan Kratochvil, (Tue May 29, 2:29 pm)
Re: [PATCH] Support for controlling leds on xbox 360 pad., Richard Purdie, (Tue May 29, 2:41 pm)
Re: [PATCH] Support for controlling leds on xbox 360 pad., Dmitry Torokhov, (Tue May 29, 8:17 pm)
Re: [PATCH] Support for controlling leds on xbox 360 pad., Dmitry Torokhov, (Wed May 30, 7:56 am)
Re: [PATCH] Support for controlling leds on xbox 360 pad., Richard Purdie, (Wed May 30, 9:32 am)
Re: [PATCH] Support for controlling leds on xbox 360 pad., Jan Kratochvil, (Wed May 30, 2:37 pm)
Re: [PATCH] Support for controlling leds on xbox 360 pad., Jan Kratochvil, (Thu May 31, 8:53 am)
Re: [PATCH] Support for controlling leds on xbox 360 pad., Richard Purdie, (Thu May 31, 9:09 am)
Re: [PATCH] Support for controlling leds on xbox 360 pad., Jan Kratochvil, (Sun Jun 3, 11:02 am)
Re: [PATCH] Support for controlling leds on xbox 360 pad., Jan Kratochvil, (Sun Jun 3, 11:07 am)
Re: [PATCH] Support for controlling leds on xbox 360 pad., Dmitry Torokhov, (Thu Jun 14, 9:15 pm)
Re: [PATCH] Support for controlling leds on xbox 360 pad., Dmitry Torokhov, (Thu Jun 14, 10:06 pm)