summaryrefslogtreecommitdiff
path: root/app/drivers/zephyr/dts/bindings/zmk,kscan-gpio-matrix.yaml
blob: 5ebcbdd38b744123d8ff4274e7dccd9090aec2fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright (c) 2020, Pete Johanson
# SPDX-License-Identifier: MIT

description: GPIO keyboard matrix controller

compatible: "zmk,kscan-gpio-matrix"

include: kscan.yaml

properties:
  row-gpios:
    type: phandle-array
    required: true
  col-gpios:
    type: phandle-array
    required: true
  debounce-period:
    type: int
    default: 5
  diode-direction:
    type: string
    default: row2col
    enum:
      - row2col
      - col2row