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.
22 lines
399 B
YAML
22 lines
399 B
YAML
# Copyright (c) 2022 The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
description: Sensor rotate behavior
|
|
|
|
compatible: "zmk,behavior-sensor-rotate"
|
|
|
|
properties:
|
|
label:
|
|
type: string
|
|
required: false
|
|
deprecated: true
|
|
"#sensor-binding-cells":
|
|
type: int
|
|
required: true
|
|
const: 0
|
|
bindings:
|
|
type: phandle-array
|
|
required: true
|
|
tap-ms:
|
|
type: int
|
|
default: 5
|