[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070531140715.GA5943@ucw.cz>
Date: Thu, 31 May 2007 14:07:16 +0000
From: Pavel Machek <pavel@....cz>
To: Jan Kratochvil <honza@...os.cz>
Cc: rpurdie@...ys.net, dtor@...l.ru, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Support for controlling leds on xbox 360 pad.
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists