refactor(pm): Remove scanned behavior trigger.

* Remove the painful scanned behavior trigger for now, future enhancement
  will restore this high level functionality using kscan directly.
This commit is contained in:
Pete Johanson
2023-12-29 16:28:22 -08:00
parent 5ebe924e94
commit 933fdcd364
5 changed files with 2 additions and 236 deletions

View File

@@ -1,31 +0,0 @@
# Copyright (c) 2023 The ZMK Contributors
# SPDX-License-Identifier: MIT
description: |
Driver for a dedicated key triggered by matrix scanning for invoking a connected behavior.
compatible: "zmk,gpio-scanned-key-behavior-trigger"
include: base.yaml
properties:
key:
type: phandle
required: true
description: The GPIO key that triggers wake via interrupt
bindings:
type: phandle
required: true
description: The behavior to invoke when the GPIO key is pressed
debounce-press-ms:
type: int
default: 5
description: Debounce time for key press in milliseconds. Use 0 for eager debouncing.
debounce-release-ms:
type: int
default: 5
description: Debounce time for key release in milliseconds.
debounce-scan-period-ms:
type: int
default: 1
description: Time between reads in milliseconds when any key is pressed.