2019-11-01 13:45:29 +01:00
|
|
|
# Microchip XEC Keyboard Scan Matrix configuration options
|
|
|
|
|
2019-10-01 02:35:42 +02:00
|
|
|
# Copyright (c) 2019 Intel Corporation
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2023-11-14 12:05:12 +01:00
|
|
|
menuconfig INPUT_XEC_KBD
|
|
|
|
bool "Microchip XEC series keyboard matrix driver"
|
2022-08-09 14:38:57 +02:00
|
|
|
default y
|
2023-11-14 12:05:12 +01:00
|
|
|
depends on DT_HAS_MICROCHIP_XEC_KBD_ENABLED
|
2019-10-01 02:35:42 +02:00
|
|
|
select MULTITHREADING
|
2023-04-19 16:43:37 +02:00
|
|
|
select PINCTRL
|
2019-10-01 02:35:42 +02:00
|
|
|
help
|
|
|
|
Enable the Microchip XEC Kscan IO driver.
|
|
|
|
|
2023-11-14 12:05:12 +01:00
|
|
|
if INPUT_XEC_KBD
|
2019-10-01 02:35:42 +02:00
|
|
|
|
2023-11-14 12:05:12 +01:00
|
|
|
config INPUT_XEC_COLUMN_SIZE
|
2021-11-22 20:41:23 +01:00
|
|
|
int "Keyscan XEC Column Size"
|
2019-10-01 02:35:42 +02:00
|
|
|
default 16
|
|
|
|
help
|
2019-11-01 10:24:07 +01:00
|
|
|
Adjust the value to your keyboard columns. The maximum
|
|
|
|
column size for the Microchip XEC family is 18 (from 0 to 17).
|
2019-10-01 02:35:42 +02:00
|
|
|
|
2023-11-14 12:05:12 +01:00
|
|
|
config INPUT_XEC_ROW_SIZE
|
2021-11-22 20:41:23 +01:00
|
|
|
int "Keyscan XEC Row Size"
|
2019-10-01 02:35:42 +02:00
|
|
|
default 8
|
|
|
|
help
|
2019-11-01 10:24:07 +01:00
|
|
|
Adjust the value to your keyboard rows. The maximum
|
|
|
|
column size for the Microchip XEC family is 8 (from 0 to 7).
|
2019-10-01 02:35:42 +02:00
|
|
|
|
2023-11-14 12:05:12 +01:00
|
|
|
config INPUT_XEC_DEBOUNCE_DOWN
|
2021-11-22 20:41:23 +01:00
|
|
|
int "Keyscan XEC Debounce Down"
|
2019-10-01 02:35:42 +02:00
|
|
|
default 10
|
|
|
|
help
|
2019-11-01 10:24:07 +01:00
|
|
|
Determines the time in msecs for debouncing a key press.
|
2019-10-01 02:35:42 +02:00
|
|
|
|
2023-11-14 12:05:12 +01:00
|
|
|
config INPUT_XEC_DEBOUNCE_UP
|
2021-11-22 20:41:23 +01:00
|
|
|
int "Keyscan XEC Debounce Up"
|
2019-10-01 02:35:42 +02:00
|
|
|
default 20
|
|
|
|
help
|
2019-11-01 10:24:07 +01:00
|
|
|
Determines the time in msecs for debouncing a key release.
|
2019-10-01 02:35:42 +02:00
|
|
|
|
2023-11-14 12:05:12 +01:00
|
|
|
config INPUT_XEC_POLL_PERIOD
|
2021-11-22 20:41:23 +01:00
|
|
|
int "Keyscan XEC Poll Period"
|
2019-10-01 02:35:42 +02:00
|
|
|
default 5
|
|
|
|
help
|
2019-11-01 10:24:07 +01:00
|
|
|
Defines the poll period in msecs between between matrix scans.
|
2019-10-01 02:35:42 +02:00
|
|
|
|
2023-11-14 12:05:12 +01:00
|
|
|
endif # INPUT_XEC
|