blob: e399bd4431fde209d2aebccbe320d6fdd66d7d58 [file] [log] [blame]
# Copyright 2023 Google LLC
# SPDX-License-Identifier: Apache-2.0
description: Keyboard matrix device
include: base.yaml
properties:
row-size:
type: int
description: |
The number of rows in the keyboard matrix.
col-size:
type: int
description: |
The number of column in the keyboard matrix.
poll-period-ms:
type: int
default: 5
description: |
Defines the poll period in msecs between between matrix scans. Defaults
to 5ms if unsepcified.
poll-timeout-ms:
type: int
default: 100
description: |
How long to wait before going from polling back to idle state. Defaults
to 100ms if unspecified.
debounce-down-ms:
type: int
default: 10
description: |
Debouncing time for a key press event. Defaults to 10ms if unspecified.
debounce-up-ms:
type: int
default: 20
description: |
Debouncing time for a key release event. Defaults to 20ms if unspecified.
settle-time-us:
type: int
default: 50
description: |
Delay between setting column output and reading the row values. Defaults
to 50us if unspecified.
no-ghostkey-check:
type: boolean
description: |
Ignore the ghost key checking in the driver if the diodes are used
in the matrix hardware.