input: test for LED feature and use it
authorRan Benita <ran234@gmail.com>
Fri, 20 Jan 2012 17:07:00 +0000 (19:07 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Tue, 20 Mar 2012 18:00:54 +0000 (19:00 +0100)
commit5811fee0daf9feebe9cd5a52ae28ad6de867e548
tree2f14445fc929c8dfdda435c3e4300eaedb2ec90e
parent6b7265447e7e06be7e48d91a8c1bae9b6525c886
input: test for LED feature and use it

Add probing for LEDs in the input devices, and move the ioctl for the
LEDs state from the keyboard backends to the input subsystem itself
(thus not exposing the device's file descriptor unnecessarily).

Signed-off-by: Ran Benita <ran234@gmail.com>
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/input.c
src/kbd.h
src/kbd_dumb.c
src/kbd_xkb.c