mirror of https://github.com/OpenIPC/firmware.git
40 lines
1.1 KiB
Diff
40 lines
1.1 KiB
Diff
diff -drupN a/drivers/input/Kconfig b/drivers/input/Kconfig
|
|
--- a/drivers/input/Kconfig 2018-08-06 17:23:04.000000000 +0300
|
|
+++ b/drivers/input/Kconfig 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -187,6 +187,26 @@ config INPUT_APMPOWER
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called apm-power.
|
|
|
|
+config INPUT_KEYRESET
|
|
+ bool "Reset key"
|
|
+ depends on INPUT
|
|
+ select INPUT_KEYCOMBO
|
|
+ ---help---
|
|
+ Say Y here if you want to reboot when some keys are pressed;
|
|
+
|
|
+config INPUT_KEYCOMBO
|
|
+ bool "Key combo"
|
|
+ depends on INPUT
|
|
+ ---help---
|
|
+ Say Y here if you want to take action when some keys are pressed;
|
|
+
|
|
+config INPUT_SENSORINIT
|
|
+ tristate "sunxi sensor init"
|
|
+ depends on INPUT
|
|
+ default y
|
|
+ ---help---
|
|
+ init sunxi Sensors and CTP;
|
|
+ If you say yes here you get support for Sensors and CTP init function;
|
|
comment "Input Device Drivers"
|
|
|
|
source "drivers/input/keyboard/Kconfig"
|
|
@@ -203,6 +223,8 @@ source "drivers/input/misc/Kconfig"
|
|
|
|
source "drivers/input/rmi4/Kconfig"
|
|
|
|
+source "drivers/input/sensor/Kconfig"
|
|
+
|
|
endif
|
|
|
|
menu "Hardware I/O ports"
|