mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-19 20:45:18 -05:00
refactor(pointing): Allow stopping event propagation
Allow input processors to return a special value if a given input event
should not be further processed/propagated.
feat(pointing): Add behavior input processor
Add the ability to intercept certain input events and trigger behaviors
when they occur.
Co-authored-by: Jorge Villalobos <minusfive@users.noreply.github.com>
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com>
19 lines
353 B
YAML
19 lines
353 B
YAML
# Copyright (c) 2024, The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
description: Input Processor for invoking behaviors on certain events
|
|
|
|
compatible: "zmk,input-processor-behaviors"
|
|
|
|
include: ip_zero_param.yaml
|
|
|
|
properties:
|
|
type:
|
|
type: int
|
|
codes:
|
|
type: array
|
|
required: true
|
|
bindings:
|
|
type: phandle-array
|
|
required: true
|