mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-19 20:45:18 -05:00
* refactor(core)!: Allow layer behaviors to "lock" layers on Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com> * docs: Added documentation note on locking layers Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com> --------- Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com>
14 lines
373 B
YAML
14 lines
373 B
YAML
# Copyright (c) 2020 The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
description: Momentary layer on press/release behavior
|
|
|
|
compatible: "zmk,behavior-momentary-layer"
|
|
|
|
include: one_param.yaml
|
|
|
|
properties:
|
|
locking:
|
|
type: boolean
|
|
description: Whether to "lock" the layer active, preventing behaviors without the "locking" property from deactivating the layer
|