mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 20:16:38 +07:00
f60c8ba77d
This change creates a new input handler called "leds" that exports LEDs on input devices as standard LED class devices in sysfs and allows controlling their state via sysfs or via any of the standard LED triggers. This allows to re-purpose and reassign LDEs on the keyboards to represent states other than the standard keyboard states (CapsLock, NumLock, etc). The old API of controlling input LEDs by writing into /dev/input/eventX devices is still present and will take precedence over accessing via LEDs subsystem (i.e. it may override state set by a trigger). If input device is "grabbed" then requests coming through LED subsystem will be ignored. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Tested-by: Pavel Machek <pavel@ucw.cz> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
29 lines
874 B
Makefile
29 lines
874 B
Makefile
#
|
|
# Makefile for the input core drivers.
|
|
#
|
|
|
|
# Each configuration option enables a list of files.
|
|
|
|
obj-$(CONFIG_INPUT) += input-core.o
|
|
input-core-y := input.o input-compat.o input-mt.o ff-core.o
|
|
|
|
obj-$(CONFIG_INPUT_FF_MEMLESS) += ff-memless.o
|
|
obj-$(CONFIG_INPUT_POLLDEV) += input-polldev.o
|
|
obj-$(CONFIG_INPUT_SPARSEKMAP) += sparse-keymap.o
|
|
obj-$(CONFIG_INPUT_MATRIXKMAP) += matrix-keymap.o
|
|
|
|
obj-$(CONFIG_INPUT_LEDS) += input-leds.o
|
|
obj-$(CONFIG_INPUT_MOUSEDEV) += mousedev.o
|
|
obj-$(CONFIG_INPUT_JOYDEV) += joydev.o
|
|
obj-$(CONFIG_INPUT_EVDEV) += evdev.o
|
|
obj-$(CONFIG_INPUT_EVBUG) += evbug.o
|
|
|
|
obj-$(CONFIG_INPUT_KEYBOARD) += keyboard/
|
|
obj-$(CONFIG_INPUT_MOUSE) += mouse/
|
|
obj-$(CONFIG_INPUT_JOYSTICK) += joystick/
|
|
obj-$(CONFIG_INPUT_TABLET) += tablet/
|
|
obj-$(CONFIG_INPUT_TOUCHSCREEN) += touchscreen/
|
|
obj-$(CONFIG_INPUT_MISC) += misc/
|
|
|
|
obj-$(CONFIG_INPUT_APMPOWER) += apm-power.o
|