aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/dts/bindings/zmk,conditional-layers.yaml
blob: 7e79038ea33499e49ea4fdb2e9978ab1fd756c69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright (c) 2021 The ZMK Contributors
# SPDX-License-Identifier: MIT

description: Conditional layers allow layer combinations to trigger additional layers

compatible: "zmk,conditional-layers"

child-binding:
  description: "Single conditional layer that activates then-layer when if-layers are active"

  properties:
    if-layers:
      type: array
      required: true
    then-layer:
      type: int
      required: true