summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index 5c360f6a99..dfe458c5ad 100644
--- a/include/config.h
+++ b/include/config.h
@@ -3197,6 +3197,11 @@
*/
#undef CONFIG_MKBP_EVENT_WAKEUP_MASK
+/*
+ * Send button, switch and sysrq events via MKBP protocol to the host.
+ */
+#undef CONFIG_MKBP_INPUT_DEVICES
+
/* Support memory protection unit (MPU) */
#undef CONFIG_MPU
@@ -5537,8 +5542,12 @@
/******************************************************************************/
-/* The Matrix Keyboard Protocol depends on MKBP events. */
+/* The Matrix Keyboard Protocol depends on MKBP input devices and events. */
#ifdef CONFIG_KEYBOARD_PROTOCOL_MKBP
+#define CONFIG_MKBP_INPUT_DEVICES
+#endif
+
+#if defined(CONFIG_KEYBOARD_PROTOCOL_MKBP) || defined(CONFIG_MKBP_INPUT_DEVICES)
#define CONFIG_MKBP_EVENT
#endif