zephyr/drivers/input/Kconfig.kbd_matrix
Fabio Baltieri 76791cd708 input: kbd_matrix: add a input_kbd_matrix_drive_column_hook option
Add an option to call an application specific hook when setting the
column to scan. This makes it possible to handle application specific
quirks.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-11-29 18:18:09 +00:00

31 lines
791 B
Plaintext

# Copyright 2023 Google LLC
# SPDX-License-Identifier: Apache-2.0
config INPUT_KBD_MATRIX
bool
help
Enable library used for keyboard matrix drivers.
if INPUT_KBD_MATRIX
config INPUT_KBD_MATRIX_THREAD_STACK_SIZE
int "Stack size for the keyboard matrix thread"
default 1024
help
Size of the stack used for the keyboard matrix thread.
config INPUT_KBD_MATRIX_16_BIT_ROW
bool "16 bit row size support"
help
Use a 16 bit type for the internal structure, allow using a matrix
with up to 16 rows if the driver supports it.
config INPUT_KBD_DRIVE_COLUMN_HOOK
bool
help
Call an application specific hook after the driver specific
drive_column implementation. The application must implement the
input_kbd_matrix_drive_column_hook function.
endif # INPUT_KBD_MATRIX