2020-10-06 18:52:21 +11:00
|
|
|
# Copyright (c) 2020, The ZMK Contributors
|
2020-07-23 01:08:52 +10:00
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
|
|
|
description: Sensor rotate key press/release behavior
|
|
|
|
|
|
|
|
compatible: "zmk,behavior-sensor-rotate-key-press"
|
|
|
|
|
|
|
|
properties:
|
|
|
|
label:
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
"#sensor-binding-cells":
|
|
|
|
type: int
|
|
|
|
required: true
|
|
|
|
const: 2
|
|
|
|
usage_page:
|
|
|
|
type: int
|
|
|
|
default: 0
|
|
|
|
|
|
|
|
sensor-binding-cells:
|
|
|
|
- param1
|
|
|
|
- param2
|