2244bd3d81
* Refactor sensor events to include channel data, necessary for prop split encoders, and avoiding duplicate calls, to fetch channel data twice, etc. * More consistent behavior driver API. * Allow setting triggers per resolution at the behavior level optionally.
23 lines
460 B
YAML
23 lines
460 B
YAML
# Copyright (c) 2020 The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
description: |
|
|
Allows defining the collection of sensors bound in the keymap layers
|
|
|
|
compatible: "zmk,keymap-sensors"
|
|
|
|
properties:
|
|
sensors:
|
|
type: phandles
|
|
required: false
|
|
triggers-per-rotation:
|
|
type: int
|
|
required: false
|
|
|
|
child-binding:
|
|
description: Per-sensor configuration settings
|
|
properties:
|
|
triggers-per-rotation:
|
|
type: int
|
|
required: false
|