mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 01:17:30 +01:00
kernel: add kmod-input-matrix-keypad package
This module contains driver for GPIO driven matrix keypad. Signed-off-by: Coia Prant <coiaprant@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17471 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
ae7fc18cf2
commit
f38abc0248
1 changed files with 17 additions and 0 deletions
|
|
@ -143,6 +143,23 @@ endef
|
|||
$(eval $(call KernelPackage,input-gpio-encoder))
|
||||
|
||||
|
||||
define KernelPackage/input-matrix-keypad
|
||||
SUBMENU:=$(INPUT_MODULES_MENU)
|
||||
TITLE:=GPIO matrix keypad support
|
||||
DEPENDS:= @GPIO_SUPPORT +kmod-input-core +kmod-input-matrixkmap
|
||||
KCONFIG:= \
|
||||
CONFIG_KEYBOARD_MATRIX \
|
||||
CONFIG_INPUT_KEYBOARD=y
|
||||
FILES:=$(LINUX_DIR)/drivers/input/keyboard/matrix_keypad.ko
|
||||
AUTOLOAD:=$(call AutoProbe,matrix_keypad,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/input-matrix-keypad/description
|
||||
Enable support for GPIO driven matrix keypad.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,input-matrix-keypad))
|
||||
|
||||
define KernelPackage/input-joydev
|
||||
SUBMENU:=$(INPUT_MODULES_MENU)
|
||||
TITLE:=Joystick device support
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue