Re: [PATCH] Input: add LED_0..LED_15 define

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

 



2017-02-10 22:54 GMT-02:00 Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>:
> Hi Paulo,
>
> On Tue, Feb 7, 2017 at 4:41 PM, Paulo Costa <me@xxxxxxxxxxxxxxxxxx> wrote:
>> Some input devices have many controllable leds that don't fit any standard function (e.g., the Wiimote has 4 controllable LEDs)
>>
>> Just as we have BTN_0..BTN_9 for generic buttons, LED_0...LED_15 can now be used to control generic leds.
>
> Generic LEDs should use LED subsystem; we are not going to be adding
> more LED definitions to input.
>
> Thanks.
>
> --
> Dmitry

Hello, Dmitry,

IMHO, whenever those leds are part of a bigger input device,
using EV_LED makes more sense.

But it's your call, thanks for looking into it.

Paulo
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux