Re: [PATCH] Route kbd LEDs through the generic LEDs layer

From: Peter Korsgaard
Date: Mon Jul 15 2013 - 05:27:39 EST


>>>>> "Samuel" == Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> writes:

Samuel> This permits to reassign keyboard LEDs to something else than keyboard "leds"
Samuel> state, by adding keyboard led and modifier triggers connected to a series
Samuel> of VT input LEDs, themselves connected to VT input triggers, which
Samuel> per-input device LEDs use by default. Userland can thus easily change the LED
Samuel> behavior of (a priori) all input devices, or of particular input devices.

Samuel> This also permits to fix #7063 from userland by using a modifier to implement
Samuel> proper CapsLock behavior and have the keyboard caps lock led show that modifier
Samuel> state.

Samuel> Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
Samuel> [ebroder@xxxxxxxxxxxx: Rebased to 3.2-rc1 or so, cleaned up some includes, and fixed some constants]
Samuel> Signed-off-by: Evan Broder <evan@xxxxxxxxxxx>

Looks good to me. Samuel, thanks for picking this up again.

Acked-by: Peter Korsgaard <jacmet@xxxxxxxxxx>

--
Bye, Peter Korsgaard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/