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

From: Pavel Machek
Date: Thu May 31 2007 - 11:33:46 EST


Hi!

> this patch is against current input tree.
>
> Xbox360 pad has four leds, which forms a circle.
> Unfortunately the leds itself are not independent, and
> we can't control them directle, but rather through
> sending commands which have predefined meaning (like
> turn first on, others off)
> This patch allows us to send these commands via leds
> subsystem. Commands itself are described here:
> http://www.free60.org/wiki/Gamepad.
>
> Led subsystem allows us to set brightness, but there is
> nothing like brightness on this device. So brightness is
> actually interpreted as the command (only values between
> 0 and 14 are accepted).

Ugh, no, I do not think we want to do that.

Devices with brightness 0 or 255 (off or on) are okay, but controlling
4 leds with one brightness is just wrong.

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/