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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux