zephyr/tests/drivers/input/kbd_matrix/testcase.yaml
Fabio Baltieri 4307882dd1 input: kbd_matrix: add actual key mask runtime control
Add an option to enable a input_kbd_matrix_actual_key_mask_set API to
enable or disable keys dynamically in the mask. This can be useful if
the exact key mask is determined in runtime and the device is using a
single firmware for multiple matrix configurations.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-12-27 16:50:21 +00:00

27 lines
714 B
YAML

# SPDX-License-Identifier: Apache-2.0
common:
platform_allow:
- native_sim
- native_sim_64
tags:
- drivers
- input
integration_platforms:
- native_sim
tests:
input.input_kbd_matrix: {}
input.input_kbd_matrix.no_ghostkey_check:
extra_args:
- EXTRA_DTC_OVERLAY_FILE=no-ghostkey-check.overlay
input.input_kbd_matrix.actual_key_mask:
extra_args:
- EXTRA_DTC_OVERLAY_FILE=actual-key-mask.overlay
input.input_kbd_matrix.actual_key_mask_dynamic:
extra_args:
- EXTRA_DTC_OVERLAY_FILE=actual-key-mask.overlay
- CONFIG_INPUT_KBD_ACTUAL_KEY_MASK_DYNAMIC=y
input.input_kbd_matrix.row_16_bit:
extra_args:
- CONFIG_INPUT_KBD_MATRIX_16_BIT_ROW=y