aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Sangdahl <[email protected]>2024-02-25 15:57:36 -0700
committerJack Sangdahl <[email protected]>2024-02-25 15:57:36 -0700
commitf77ce1e74ba8e0161688b018d20a8aa145122119 (patch)
tree3e4526a53861f47e438f3562f910669502fd92e5
parent5144b1e7cb4ce6cad597231287db2706900f45b7 (diff)
downloadzmk_build-f77ce1e74ba8e0161688b018d20a8aa145122119.tar.gz
zmk_build-f77ce1e74ba8e0161688b018d20a8aa145122119.zip
revert util formatting
-rw-r--r--config/corne.keymap2
-rw-r--r--config/revxlp.keymap2
-rw-r--r--config/splitkb_aurora_sweep.keymap2
-rw-r--r--config/util.h34
-rw-r--r--revxlp/Kconfig.defconfig2
-rw-r--r--revxlp/Kconfig.shield2
-rw-r--r--revxlp/revxlp.overlay2
7 files changed, 23 insertions, 23 deletions
diff --git a/config/corne.keymap b/config/corne.keymap
index 9c1ea89..6a7c5b1 100644
--- 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
index 9c1ea89..6a7c5b1 100644
--- 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
index 720ffb1..ee9d78a 100644
--- 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
index a5e503e..58a788e 100644
--- 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
index c55aa0c..b6015f4 100644
--- 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
index bc023dd..8aac145 100644
--- 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
index 53faae0..dbade4a 100644
--- 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>