2020-11-12 08:09:08 +11:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
/ {
|
|
|
|
behaviors {
|
2021-01-18 17:09:51 +11:00
|
|
|
/omit-if-no-ref/ sk: behavior_sticky_key {
|
2020-11-12 08:09:08 +11:00
|
|
|
compatible = "zmk,behavior-sticky-key";
|
|
|
|
label = "STICKY_KEY";
|
|
|
|
#binding-cells = <1>;
|
|
|
|
release-after-ms = <1000>;
|
|
|
|
bindings = <&kp>;
|
2022-01-27 06:42:14 +11:00
|
|
|
ignore-modifiers;
|
2020-11-12 08:09:08 +11:00
|
|
|
};
|
2021-01-18 17:09:51 +11:00
|
|
|
/omit-if-no-ref/ sl: behavior_sticky_layer {
|
2020-11-12 08:09:08 +11:00
|
|
|
compatible = "zmk,behavior-sticky-key";
|
|
|
|
label = "STICKY_LAYER";
|
|
|
|
#binding-cells = <1>;
|
|
|
|
release-after-ms = <1000>;
|
|
|
|
bindings = <&mo>;
|
2020-12-13 07:35:52 +11:00
|
|
|
quick-release;
|
2020-11-12 08:09:08 +11:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|