On Sun, Feb 12, 2017 at 11:03:03PM -0200, Paulo Costa wrote: > 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. Yes, we even re-exported the "original" input LEDs as "standard" LEDs. Other drovers are also using "standard" LEDs - xpad.c, etc. Thanks. -- Dmitry -- 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