Skip to content

Commit

Permalink
kernel: add kmod-input-leds
Browse files Browse the repository at this point in the history
Adds support for LEDs on input devices. Useful for example on x86 laptops-
allows re-purposing num/caps/scroll lock LEDs.

Signed-off-by: Anderson McKinley <coyoso@tuta.io>
  • Loading branch information
ajmckinley authored and hauke committed May 23, 2021
1 parent 21d4b22 commit 0eca969
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions package/kernel/linux/modules/leds.mk
Expand Up @@ -159,3 +159,20 @@ define KernelPackage/leds-uleds/description
endef

$(eval $(call KernelPackage,leds-uleds))


define KernelPackage/input-leds
SUBMENU:=$(LEDS_MENU)
TITLE:=Input device LED support
DEPENDS:=+kmod-input-core
KCONFIG:=CONFIG_INPUT_LEDS
FILES:=$(LINUX_DIR)/drivers/input/input-leds.ko
AUTOLOAD:=$(call AutoLoad,50,input-leds,1)
endef

define KernelPackage/input-leds/description
Provides support for LEDs on input devices- for example,
keyboard num/caps/scroll lock.
endef

$(eval $(call KernelPackage,input-leds))

0 comments on commit 0eca969

Please sign in to comment.