This is a solution for keys that use the same keycode but different modifiers (see #1076 as an example, also { and [ or ] and } might occur quite often). The new key behavior introduced here is a simple tap that immediately sends a release event, so that a keypress of the same keycode with a different modifier can be detected immediately.
8 lines
185 B
YAML
8 lines
185 B
YAML
# Copyright (c) 2022 The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
description: Key press/immediate release behavior
|
|
|
|
compatible: "zmk,behavior-key-tap"
|
|
|
|
include: one_param.yaml
|