diff options
Diffstat (limited to 'app/dts/behaviors/gresc.dtsi')
-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)>; + }; + }; +}; |