zmk/app/module/dts/bindings/kscan/zmk,kscan-gpio-charliplex.yaml
HookyKB 48dfbaf48f Remove interrupt config/rely on pin set
If the interrupt pin is set, use the interrupt code, else poll.

This change results in a slightly larger executable in both cases,
with unreachable code. More so in the case of polling, bet the
difference is not great.
2023-12-09 13:49:05 -08:00

31 lines
788 B
YAML

# Copyright (c) 2023 The ZMK Contributors
# SPDX-License-Identifier: MIT
description: GPIO keyboard charliplex matrix controller
compatible: "zmk,kscan-gpio-charliplex"
include: kscan.yaml
properties:
gpios:
type: phandle-array
required: true
interrupt-gpios:
type: phandle-array
debounce-press-ms:
type: int
default: 5
description: Debounce time for key press in milliseconds. Use 0 for eager debouncing.
debounce-release-ms:
type: int
default: 5
description: Debounce time for key release in milliseconds.
debounce-scan-period-ms:
type: int
default: 1
description: Time between reads in milliseconds when any key is pressed.
poll-period-ms:
type: int
default: 1
description: Time between reads in milliseconds