forked from kofal.net/zmk
Merge pull request #100 from petejohanson/behaviors/add-none
Add `&none` behavior.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include <behaviors/key_press.dtsi>
|
||||
#include <behaviors/transparent.dtsi>
|
||||
#include <behaviors/none.dtsi>
|
||||
#include <behaviors/mod_tap.dtsi>
|
||||
#include <behaviors/momentary_layer.dtsi>
|
||||
#include <behaviors/toggle_layer.dtsi>
|
||||
|
||||
15
app/dts/behaviors/none.dtsi
Normal file
15
app/dts/behaviors/none.dtsi
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Pete Johanson
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
/ {
|
||||
behaviors {
|
||||
none: behavior_none {
|
||||
compatible = "zmk,behavior-none";
|
||||
label = "NONE";
|
||||
#binding-cells = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
8
app/dts/bindings/behaviors/zmk,behavior-none.yaml
Normal file
8
app/dts/bindings/behaviors/zmk,behavior-none.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2020, Pete Johanson
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
description: None Binding Behavior
|
||||
|
||||
compatible: "zmk,behavior-none"
|
||||
|
||||
include: zero_param.yaml
|
||||
Reference in New Issue
Block a user