# 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
