* Add new sensor behaviors that either take full bindings add definition, or accept parameters when bound in the keymap. * Remove existing hard-coded key press sensor behavior and instead leverage new generic sensor behaviors to achieve the same functionality. Co-authored-by: nick@conway.dev
21 lines
377 B
YAML
21 lines
377 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: true
|
|
"#sensor-binding-cells":
|
|
type: int
|
|
required: true
|
|
const: 0
|
|
bindings:
|
|
type: phandle-array
|
|
required: true
|
|
tap-ms:
|
|
type: int
|
|
default: 5
|