forked from kofal.net/zmk
feat: Add &studio_unlock behavior.
* New behavior allows unlocking the keyboard to allow ZMK Studio to make changes. Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com>
This commit is contained in:
committed by
Pete Johanson
parent
b1bcc3e418
commit
bafe648425
@@ -21,3 +21,4 @@
|
||||
#include <behaviors/macros.dtsi>
|
||||
#include <behaviors/mouse_key_press.dtsi>
|
||||
#include <behaviors/soft_off.dtsi>
|
||||
#include <behaviors/studio_unlock.dtsi>
|
||||
|
||||
15
app/dts/behaviors/studio_unlock.dtsi
Normal file
15
app/dts/behaviors/studio_unlock.dtsi
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright (c) 2024 The ZMK Contributors
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/ {
|
||||
behaviors {
|
||||
studio_unlock: studio_unlock {
|
||||
compatible = "zmk,behavior-studio-unlock";
|
||||
#binding-cells = <0>;
|
||||
display-name = "Studio Unlock";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2024 The ZMK Contributors
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
description: Studio Unlock Behavior
|
||||
|
||||
compatible: "zmk,behavior-studio-unlock"
|
||||
|
||||
include: zero_param.yaml
|
||||
Reference in New Issue
Block a user