MediaTek Keypad Support

modulename: mt6779-keypad.ko

configname: CONFIG_KEYBOARD_MT6779

Linux Kernel Configuration
└─>Device Drivers
└─>Input device support
└─>MediaTek Keypad Support
In linux kernel since version 5.2 (release Date: 2019-07-07)  
Say Y here if you want to use the keypad on MediaTek SoCs.
If unsure, say N.

To compile this driver as a module, choose M here: the
module will be called mt6779-keypad.

source code: