Tactility/Drivers/gpio-encoder-module/bindings/tactility,gpio-encoder.yaml
Ken Van Hoeylandt 0f12fcce53
New themes (#677)
- Implemented themes with LSS: material, material mono
- Implemented grid-based navigation
- Added new Launcher
- Updated Appearance app to add theme configuration
- Updated various apps to improve UX/UI
- Added LVGL widgets: cards, badges, chips, icon buttons
- Added support for round/rounded displays
- Added the concept of insets to LVGL and implemented it in toolbar + statusbar
- Terminal app now hides toolbar by default, but tapping the terminal toggles visibility
- File browsing now opens the configured user-data location by default
- Added missing licenses to subprojects
- Updated README.md screenshots and intro text
2026-10-07 23:00:09 +02:00

34 lines
1.0 KiB
YAML

description: >
GPIO-attached rotary encoder wheel - a 2-phase quadrature encoder (decoded via the ESP32
hardware PCNT peripheral) plus an optional separate click/enter button. Exposes a
KEYBOARD_TYPE device: each wheel detent is translated to a focus next/previous key, and the
button (if present) press/release is translated to the enter key.
compatible: "tactility,gpio-encoder"
properties:
pin-a:
type: phandles
required: true
description: Quadrature phase A GPIO pin
pin-b:
type: phandles
required: true
description: Quadrature phase B GPIO pin
pin-enter:
type: phandles
default: GPIO_PIN_SPEC_NONE
description: Optional click/enter button GPIO pin (active low)
pulses-per-detent:
type: int
min: 1
max: 255
default: 4
description: Quadrature pulses per mechanical detent
pending-capacity:
type: int
min: 2
max: 255
default: 16
description: Capacity of the queue buffering key events between read_key() polls. Must be at least 2 to hold one wheel press/release pair.