Messages in this thread | | | Date | Thu, 23 Jul 2015 00:01:27 +0200 (CEST) | From | Jiri Kosina <> | Subject | Re: [PATCH v2 1/3] Input: export LEDs as class devices in sysfs |
| |
On Wed, 22 Jul 2015, Dmitry Torokhov wrote:
> Yes, I'll change how we count the leds to skip unnamed, then the patch > below won't be needed.
Agreed.
> BTW, maybe we should be using hid_map_usage_clear() in map_led() as it > does not make much sense to convert CAPS LOCK into SCROLL LOCK in case > keyboard happens to have 2 usages for caps...
Indeed, makes sense generally for all LEDs I think.
-- Jiri Kosina SUSE Labs
| |