zmk/app/dts/bindings/behaviors/two_param.yaml
Joel Spadin 179bdbc41a refactor(behaviors): Make label property optional
Changed all code (except for layer names) which used the label property
to use DEVICE_DT_NAME() instead, which uses the label if set or falls
back to the full node name. This matches how Zephyr determines the node
names used with device_get_binding() and allows us to start removing the
deprecated label property from things.
2023-12-04 20:06:54 -06:00

17 lines
257 B
YAML

# Copyright (c) 2020 The ZMK Contributors
# SPDX-License-Identifier: MIT
properties:
label:
type: string
required: false
deprecated: true
"#binding-cells":
type: int
required: true
const: 2
binding-cells:
- param1
- param2