diff options
author | Okke Formsma <okke@formsma.nl> | 2020-12-26 14:46:56 +0100 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2021-01-22 19:27:18 -0500 |
commit | 5eeb310b2f0ccf1adf91b448573001559696a1d7 (patch) | |
tree | a3a711afe29b2df3dc781a8103ce58b21626433c /app/dts/behaviors | |
parent | 58ad5d4e865341e736f4f80e6c3ec31d168fc509 (diff) |
feat(grave-escape): implement grave-escape
closes #85
Diffstat (limited to 'app/dts/behaviors')
-rw-r--r-- | app/dts/behaviors/gresc.dtsi | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/dts/behaviors/gresc.dtsi b/app/dts/behaviors/gresc.dtsi new file mode 100644 index 0000000..2959388 --- /dev/null +++ b/app/dts/behaviors/gresc.dtsi @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2020 The ZMK Contributors + * + * SPDX-License-Identifier: MIT + */ + +#include <dt-bindings/zmk/keys.h> + +/ { + behaviors { + /omit-if-no-ref/ gresc: grave_escape { + compatible = "zmk,behavior-mod-morph"; + label = "GRAVE_ESCAPE"; + #binding-cells = <0>; + bindings = <&kp ESC>, <&kp GRAVE>; + mods = <(MOD_LGUI|MOD_LSFT|MOD_RGUI|MOD_RSFT)>; + }; + }; +}; |