zmk/app/module/dts/bindings/sensor/alps,ec11.yaml

28 lines
565 B
YAML
Raw Permalink Normal View History

2020-07-17 19:43:19 -07:00
description: |
Sensor driver for the Alps EC11 rotary encoder
2020-07-17 19:43:19 -07:00
compatible: "alps,ec11"
2020-07-17 19:43:19 -07:00
properties:
label:
type: string
required: false
deprecated: true
2020-07-17 19:43:19 -07:00
a-gpios:
type: phandle-array
required: true
description: A pin for the encoder
b-gpios:
type: phandle-array
required: true
description: A pin for the encoder
resolution:
type: int
description: Number of pulses per tick
deprecated: true
required: false
steps:
type: int
description: Number of pulses in one full rotation
required: false