zmk_build

ZMK code & build repository
git clone https://git.pngu.org/zmk_build
Log | Files | Refs | Submodules | README

commit f77ce1e74ba8e0161688b018d20a8aa145122119
parent 5144b1e7cb4ce6cad597231287db2706900f45b7
Author: Jack Sangdahl <0x6A73@pm.me>
Date:   Sun, 25 Feb 2024 15:57:36 -0700

revert util formatting

Diffstat:
Mconfig/corne.keymap | 2+-
Mconfig/revxlp.keymap | 2+-
Mconfig/splitkb_aurora_sweep.keymap | 2+-
Mconfig/util.h | 34+++++++++++++++++-----------------
Mrevxlp/Kconfig.defconfig | 2+-
Mrevxlp/Kconfig.shield | 2+-
Mrevxlp/revxlp.overlay | 2+-
7 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/config/corne.keymap b/config/corne.keymap @@ -1,4 +1,4 @@ -// Copyright 2022 jack (@waffle87) +// Copyright 2024 jack (@waffle87) // SPDX-License-Identifier: MIT #include <behaviors.dtsi> diff --git a/config/revxlp.keymap b/config/revxlp.keymap @@ -1,4 +1,4 @@ -// Copyright 2022 jack (@waffle87) +// Copyright 2024 jack (@waffle87) // SPDX-License-Identifier: MIT #include <behaviors.dtsi> diff --git a/config/splitkb_aurora_sweep.keymap b/config/splitkb_aurora_sweep.keymap @@ -1,4 +1,4 @@ -// Copyright 2022 jack (@waffle87) +// Copyright 2024 jack (@waffle87) // SPDX-License-Identifier: MIT #include <behaviors.dtsi> diff --git a/config/util.h b/config/util.h @@ -1,21 +1,21 @@ -// Copyright 2022 jack (@waffle87) +// Copyright 2024 jack (@waffle87) // SPDX-License-Identifier: MIT -#define COMBO(name, keypress, keypos) \ - combo_##name { \ - timeout - ms = <50>; \ - bindings = <keypress>; \ - key - positions = <keypos>; \ - }; +#define COMBO(name, keypress, keypos) \ +combo_##name { \ + timeout-ms = <50>; \ + bindings = <keypress>; \ + key-positions = <keypos>; \ +}; -#define TAP_DANCE(name, keypress1, keypress2) \ - td_##name : name { \ - compatible = "zmk,behavior-tap-dance"; \ - label = ## #name; \ - #binding - cells = <0>; \ - tapping - term - ms = <200>; \ - bindings = <keypress1>, <keypress2>; \ - }; +#define TAP_DANCE(name, keypress1, keypress2) \ +td_##name: name { \ + compatible = "zmk,behavior-tap-dance"; \ + label = ###name; \ + #binding-cells = <0>; \ + tapping-term-ms = <200>; \ + bindings = <keypress1>, <keypress2>; \ +}; -#define HRML(k1, k2, k3, k4) &hm LALT k1 &hm LGUI k2 &hm LCTRL k3 &hm LSHFT k4 -#define HRMR(k1, k2, k3, k4) &hm RSHFT k1 &hm RCTRL k2 &hm RGUI k3 &hm RALT k4 +#define HRML(k1,k2,k3,k4) &hm LALT k1 &hm LGUI k2 &hm LCTRL k3 &hm LSHFT k4 +#define HRMR(k1,k2,k3,k4) &hm RSHFT k1 &hm RCTRL k2 &hm RGUI k3 &hm RALT k4 diff --git a/revxlp/Kconfig.defconfig b/revxlp/Kconfig.defconfig @@ -1,4 +1,4 @@ -# Copyright (c) 2022 The ZMK Contributors +# Copyright (c) 2024 The ZMK Contributors # SPDX-License-Identifier: MIT if SHIELD_REVXLP diff --git a/revxlp/Kconfig.shield b/revxlp/Kconfig.shield @@ -1,4 +1,4 @@ -# Copyright (c) 2022 The ZMK Contributors +# Copyright (c) 2024 The ZMK Contributors # SPDX-License-Identifier: MIT config SHIELD_REVXLP diff --git a/revxlp/revxlp.overlay b/revxlp/revxlp.overlay @@ -1,4 +1,4 @@ -//Copyright (c) 2022 The ZMK Contributors +//Copyright (c) 2024 The ZMK Contributors //SPDX-License-Identifier: MIT #include <dt-bindings/zmk/matrix_transform.h>