aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/boards/arm/dz60rgb/Kconfig.board2
-rw-r--r--app/boards/arm/dz60rgb/Kconfig.defconfig2
-rw-r--r--app/boards/arm/dz60rgb/dz60rgb_rev1.dts2
-rw-r--r--app/boards/arm/nrfmicro/Kconfig.board2
-rw-r--r--app/boards/arm/nrfmicro/Kconfig.defconfig2
-rw-r--r--app/boards/arm/nrfmicro/arduino_pro_micro_pins.dtsi2
-rw-r--r--app/boards/arm/nrfmicro/arduino_pro_micro_pins_flipped.dtsi2
-rw-r--r--app/boards/arm/nrfmicro/nrfmicro_11.dts2
-rw-r--r--app/boards/arm/nrfmicro/nrfmicro_11_flipped.dts2
-rw-r--r--app/boards/arm/nrfmicro/nrfmicro_13.dts2
-rw-r--r--app/boards/arm/nrfmicro/pinmux.c2
-rw-r--r--app/boards/arm/planck/Kconfig.board2
-rw-r--r--app/boards/arm/planck/Kconfig.defconfig2
-rw-r--r--app/drivers/zephyr/ec11.c2
-rw-r--r--app/drivers/zephyr/ec11.h2
-rw-r--r--app/drivers/zephyr/ec11_trigger.c2
-rw-r--r--app/drivers/zephyr/kscan_gpio_direct.c2
-rw-r--r--app/drivers/zephyr/kscan_gpio_matrix.c2
-rw-r--r--app/dts/behaviors/toggle_layer.dtsi6
-rw-r--r--app/dts/bindings/behaviors/zmk,behavior-hold-tap.yaml10
-rw-r--r--app/dts/bindings/behaviors/zmk,behavior-rgb-underglow.yaml4
-rw-r--r--app/dts/bindings/behaviors/zmk,behavior-toggle-layer.yaml2
-rw-r--r--app/include/drivers/behavior.h2
-rw-r--r--app/include/dt-bindings/zmk/reset.h2
-rw-r--r--app/include/linker/zmk-events.ld2
-rw-r--r--app/include/zmk/behavior.h5
-rw-r--r--app/include/zmk/ble.h5
-rw-r--r--app/include/zmk/display.h2
-rw-r--r--app/include/zmk/endpoints.h6
-rw-r--r--app/include/zmk/event-manager.h2
-rw-r--r--app/include/zmk/events/keycode-state-changed.h2
-rw-r--r--app/include/zmk/events/modifiers-state-changed.h2
-rw-r--r--app/include/zmk/events/position-state-changed.h2
-rw-r--r--app/include/zmk/events/sensor-event.h2
-rw-r--r--app/include/zmk/handlers.h6
-rw-r--r--app/include/zmk/hid.h6
-rw-r--r--app/include/zmk/hog.h5
-rw-r--r--app/include/zmk/keymap.h6
-rw-r--r--app/include/zmk/keys.h6
-rw-r--r--app/include/zmk/kscan.h6
-rw-r--r--app/include/zmk/matrix.h6
-rw-r--r--app/include/zmk/matrix_transform.h6
-rw-r--r--app/include/zmk/rgb_underglow.h2
-rw-r--r--app/include/zmk/sensors.h2
-rw-r--r--app/include/zmk/usb_hid.h11
-rwxr-xr-xapp/run-test.sh2
-rw-r--r--app/src/behaviors/behavior_hold_tap.c2
-rw-r--r--app/src/behaviors/behavior_key_press.c2
-rw-r--r--app/src/behaviors/behavior_momentary_layer.c2
-rw-r--r--app/src/behaviors/behavior_none.c2
-rw-r--r--app/src/behaviors/behavior_reset.c2
-rw-r--r--app/src/behaviors/behavior_rgb_underglow.c2
-rw-r--r--app/src/behaviors/behavior_sensor_rotate_key_press.c2
-rw-r--r--app/src/behaviors/behavior_toggle_layer.c2
-rw-r--r--app/src/behaviors/behavior_transparent.c2
-rw-r--r--app/src/ble.c2
-rw-r--r--app/src/ble_unpair_combo.c2
-rw-r--r--app/src/display.c2
-rw-r--r--app/src/endpoints.c5
-rw-r--r--app/src/event_manager.c2
-rw-r--r--app/src/events/keycode_state_changed.c2
-rw-r--r--app/src/events/modifiers_state_changed.c2
-rw-r--r--app/src/events/position_state_changed.c2
-rw-r--r--app/src/events/sensor_event.c2
-rw-r--r--app/src/hid.c6
-rw-r--r--app/src/hid_listener.c2
-rw-r--r--app/src/hog.c6
-rw-r--r--app/src/keymap.c5
-rw-r--r--app/src/kscan.c2
-rw-r--r--app/src/kscan_composite.c2
-rw-r--r--app/src/kscan_mock.c2
-rw-r--r--app/src/main.c2
-rw-r--r--app/src/matrix_transform.c5
-rw-r--r--app/src/rgb_underglow.c2
-rw-r--r--app/src/sensors.c2
-rw-r--r--app/src/split/bluetooth/central.c2
-rw-r--r--app/src/split/bluetooth/service.c5
-rw-r--r--app/src/split_listener.c2
-rw-r--r--app/src/usb_hid.c5
79 files changed, 174 insertions, 71 deletions
diff --git a/app/boards/arm/dz60rgb/Kconfig.board b/app/boards/arm/dz60rgb/Kconfig.board
index a96271f027..ec8dad6836 100644
--- a/app/boards/arm/dz60rgb/Kconfig.board
+++ b/app/boards/arm/dz60rgb/Kconfig.board
@@ -1,4 +1,4 @@
-# Copyright (c) 2020 Nick Winans
+# Copyright (c) 2020 The ZMK Contributors
# SPDX-License-Identifier: MIT
config BOARD_DZ60RGB_REV1
diff --git a/app/boards/arm/dz60rgb/Kconfig.defconfig b/app/boards/arm/dz60rgb/Kconfig.defconfig
index c97a3085fe..779d3123a3 100644
--- a/app/boards/arm/dz60rgb/Kconfig.defconfig
+++ b/app/boards/arm/dz60rgb/Kconfig.defconfig
@@ -1,6 +1,6 @@
# DZ60RGB keyboard configuration
-# Copyright (c) 2020 Nick Winans
+# Copyright (c) 2020 The ZMK Contributors
# SPDX-License-Identifier: MIT
if BOARD_DZ60RGB_REV1
diff --git a/app/boards/arm/dz60rgb/dz60rgb_rev1.dts b/app/boards/arm/dz60rgb/dz60rgb_rev1.dts
index dc1b6ea57f..85c4ca56ce 100644
--- a/app/boards/arm/dz60rgb/dz60rgb_rev1.dts
+++ b/app/boards/arm/dz60rgb/dz60rgb_rev1.dts
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Nick Winans
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/boards/arm/nrfmicro/Kconfig.board b/app/boards/arm/nrfmicro/Kconfig.board
index 177373abf8..36b2d55e8b 100644
--- a/app/boards/arm/nrfmicro/Kconfig.board
+++ b/app/boards/arm/nrfmicro/Kconfig.board
@@ -1,6 +1,6 @@
# nrfmicro board configuration
-# Copyright (c) 2020 Okke Formsma, joric
+# Copyright (c) 2020 The ZMK Contributors
# SPDX-License-Identifier: MIT
config BOARD_NRFMICRO_11
diff --git a/app/boards/arm/nrfmicro/Kconfig.defconfig b/app/boards/arm/nrfmicro/Kconfig.defconfig
index 9cce5a9b0a..7957b4a5ec 100644
--- a/app/boards/arm/nrfmicro/Kconfig.defconfig
+++ b/app/boards/arm/nrfmicro/Kconfig.defconfig
@@ -1,6 +1,6 @@
# Electronut Labs Papyr board configuration
-# Copyright (c) 2020 Okke Formsma, joric
+# Copyright (c) 2020 The ZMK Contributors
# SPDX-License-Identifier: MIT
if BOARD_NRFMICRO_11 || BOARD_NRFMICRO_11_FLIPPED || BOARD_NRFMICRO_13
diff --git a/app/boards/arm/nrfmicro/arduino_pro_micro_pins.dtsi b/app/boards/arm/nrfmicro/arduino_pro_micro_pins.dtsi
index 6cde2b4939..558391dd68 100644
--- a/app/boards/arm/nrfmicro/arduino_pro_micro_pins.dtsi
+++ b/app/boards/arm/nrfmicro/arduino_pro_micro_pins.dtsi
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Okke Formsma, joric
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/boards/arm/nrfmicro/arduino_pro_micro_pins_flipped.dtsi b/app/boards/arm/nrfmicro/arduino_pro_micro_pins_flipped.dtsi
index 9bad7f4a4f..68ca266ded 100644
--- a/app/boards/arm/nrfmicro/arduino_pro_micro_pins_flipped.dtsi
+++ b/app/boards/arm/nrfmicro/arduino_pro_micro_pins_flipped.dtsi
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Okke Formsma, joric
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/boards/arm/nrfmicro/nrfmicro_11.dts b/app/boards/arm/nrfmicro/nrfmicro_11.dts
index dc07ac8954..95bd8adccf 100644
--- a/app/boards/arm/nrfmicro/nrfmicro_11.dts
+++ b/app/boards/arm/nrfmicro/nrfmicro_11.dts
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Okke Formsma, joric
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/boards/arm/nrfmicro/nrfmicro_11_flipped.dts b/app/boards/arm/nrfmicro/nrfmicro_11_flipped.dts
index 5bf493f06e..85693a8bff 100644
--- a/app/boards/arm/nrfmicro/nrfmicro_11_flipped.dts
+++ b/app/boards/arm/nrfmicro/nrfmicro_11_flipped.dts
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Okke Formsma, joric
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/boards/arm/nrfmicro/nrfmicro_13.dts b/app/boards/arm/nrfmicro/nrfmicro_13.dts
index dc07ac8954..95bd8adccf 100644
--- a/app/boards/arm/nrfmicro/nrfmicro_13.dts
+++ b/app/boards/arm/nrfmicro/nrfmicro_13.dts
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Okke Formsma, joric
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/boards/arm/nrfmicro/pinmux.c b/app/boards/arm/nrfmicro/pinmux.c
index 3792b597ff..0536fe0df0 100644
--- a/app/boards/arm/nrfmicro/pinmux.c
+++ b/app/boards/arm/nrfmicro/pinmux.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Okke Formsma, joric
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/boards/arm/planck/Kconfig.board b/app/boards/arm/planck/Kconfig.board
index 09524489db..fe15e1a9f9 100644
--- a/app/boards/arm/planck/Kconfig.board
+++ b/app/boards/arm/planck/Kconfig.board
@@ -1,6 +1,6 @@
# Planck V6 board configuration
-# Copyright (c) 2020 Peter Johanson
+# Copyright (c) 2020 The ZMK Contributors
# SPDX-License-Identifier: MIT
config BOARD_PLANCK_REV6
diff --git a/app/boards/arm/planck/Kconfig.defconfig b/app/boards/arm/planck/Kconfig.defconfig
index 93118d4f0c..6f5bf525f4 100644
--- a/app/boards/arm/planck/Kconfig.defconfig
+++ b/app/boards/arm/planck/Kconfig.defconfig
@@ -1,6 +1,6 @@
# Planck keyboard configuration
-# Copyright (c) 2020 Peter Johanson
+# Copyright (c) 2020 The ZMK Contributors
# SPDX-License-Identifier: MIT
if BOARD_PLANCK_REV6
diff --git a/app/drivers/zephyr/ec11.c b/app/drivers/zephyr/ec11.c
index 1bc5d6a624..dfa86efda2 100644
--- a/app/drivers/zephyr/ec11.c
+++ b/app/drivers/zephyr/ec11.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/drivers/zephyr/ec11.h b/app/drivers/zephyr/ec11.h
index 823d92d8f0..27fed9bd60 100644
--- a/app/drivers/zephyr/ec11.h
+++ b/app/drivers/zephyr/ec11.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/drivers/zephyr/ec11_trigger.c b/app/drivers/zephyr/ec11_trigger.c
index 709d1fbfd8..a04a5610e5 100644
--- a/app/drivers/zephyr/ec11_trigger.c
+++ b/app/drivers/zephyr/ec11_trigger.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016 Intel Corporation
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/drivers/zephyr/kscan_gpio_direct.c b/app/drivers/zephyr/kscan_gpio_direct.c
index a3aa8c46ba..6e6a01f33e 100644
--- a/app/drivers/zephyr/kscan_gpio_direct.c
+++ b/app/drivers/zephyr/kscan_gpio_direct.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/drivers/zephyr/kscan_gpio_matrix.c b/app/drivers/zephyr/kscan_gpio_matrix.c
index b19c49228e..079a8309bd 100644
--- a/app/drivers/zephyr/kscan_gpio_matrix.c
+++ b/app/drivers/zephyr/kscan_gpio_matrix.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/dts/behaviors/toggle_layer.dtsi b/app/dts/behaviors/toggle_layer.dtsi
index 86a050d956..4045396233 100644
--- a/app/dts/behaviors/toggle_layer.dtsi
+++ b/app/dts/behaviors/toggle_layer.dtsi
@@ -1,10 +1,10 @@
/*
- * Copyright (c) 2020 Cody McGinnis <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
-
- / {
+
+/ {
behaviors {
tog: behavior_toggle_layer {
compatible = "zmk,behavior-toggle-layer";
diff --git a/app/dts/bindings/behaviors/zmk,behavior-hold-tap.yaml b/app/dts/bindings/behaviors/zmk,behavior-hold-tap.yaml
index a20578fabb..5f74e9ad78 100644
--- a/app/dts/bindings/behaviors/zmk,behavior-hold-tap.yaml
+++ b/app/dts/bindings/behaviors/zmk,behavior-hold-tap.yaml
@@ -1,4 +1,4 @@
-# Copyright (c) 2020, Cody McGinnis; Okke Formsma
+# Copyright (c) 2020 The ZMK Contributors
# SPDX-License-Identifier: MIT
description: Hold or Tap behavior
@@ -12,12 +12,12 @@ properties:
type: phandles
required: true
tapping_term_ms:
- type: int
+ type: int
flavor:
type: string
required: false
default: "hold-preferred"
enum:
- - "hold-preferred"
- - "balanced"
- - "tap-preferred" \ No newline at end of file
+ - "hold-preferred"
+ - "balanced"
+ - "tap-preferred"
diff --git a/app/dts/bindings/behaviors/zmk,behavior-rgb-underglow.yaml b/app/dts/bindings/behaviors/zmk,behavior-rgb-underglow.yaml
index 6b6d5b00a7..2cb74b9c63 100644
--- a/app/dts/bindings/behaviors/zmk,behavior-rgb-underglow.yaml
+++ b/app/dts/bindings/behaviors/zmk,behavior-rgb-underglow.yaml
@@ -1,8 +1,8 @@
-# Copyright (c) 2020, Nick Winans
+# Copyright (c) 2020 The ZMK Contributors
# SPDX-License-Identifier: MIT
description: RGB Underglow Action
compatible: "zmk,behavior-rgb-underglow"
-include: one_param.yaml \ No newline at end of file
+include: one_param.yaml
diff --git a/app/dts/bindings/behaviors/zmk,behavior-toggle-layer.yaml b/app/dts/bindings/behaviors/zmk,behavior-toggle-layer.yaml
index 065949fe28..0a9723f7bc 100644
--- a/app/dts/bindings/behaviors/zmk,behavior-toggle-layer.yaml
+++ b/app/dts/bindings/behaviors/zmk,behavior-toggle-layer.yaml
@@ -1,4 +1,4 @@
-# Copyright (c) 2020, Cody McGinnis <[email protected]>
+# Copyright (c) 2020 The ZMK Contributors
# SPDX-License-Identifier: MIT
description: Toggle Layer
diff --git a/app/include/drivers/behavior.h b/app/include/drivers/behavior.h
index c24d11b35c..617b5ab593 100644
--- a/app/include/drivers/behavior.h
+++ b/app/include/drivers/behavior.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/include/dt-bindings/zmk/reset.h b/app/include/dt-bindings/zmk/reset.h
index b51364926d..683f9658ec 100644
--- a/app/include/dt-bindings/zmk/reset.h
+++ b/app/include/dt-bindings/zmk/reset.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/include/linker/zmk-events.ld b/app/include/linker/zmk-events.ld
index 44063be029..78d00bb7de 100644
--- a/app/include/linker/zmk-events.ld
+++ b/app/include/linker/zmk-events.ld
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/include/zmk/behavior.h b/app/include/zmk/behavior.h
index 63edcc9e1f..6f5815f1be 100644
--- a/app/include/zmk/behavior.h
+++ b/app/include/zmk/behavior.h
@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
#pragma once
diff --git a/app/include/zmk/ble.h b/app/include/zmk/ble.h
index e760ed7055..d0aaa96be9 100644
--- a/app/include/zmk/ble.h
+++ b/app/include/zmk/ble.h
@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
#pragma once
diff --git a/app/include/zmk/display.h b/app/include/zmk/display.h
index 93ac3ffdd7..def43920aa 100644
--- a/app/include/zmk/display.h
+++ b/app/include/zmk/display.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/include/zmk/endpoints.h b/app/include/zmk/endpoints.h
index 4c0f4425e0..aad6265bdf 100644
--- a/app/include/zmk/endpoints.h
+++ b/app/include/zmk/endpoints.h
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
+
#pragma once
#include <zmk/keys.h>
diff --git a/app/include/zmk/event-manager.h b/app/include/zmk/event-manager.h
index d9a56a4f6e..9da6602905 100644
--- a/app/include/zmk/event-manager.h
+++ b/app/include/zmk/event-manager.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/include/zmk/events/keycode-state-changed.h b/app/include/zmk/events/keycode-state-changed.h
index e12813c774..fc37946b3c 100644
--- a/app/include/zmk/events/keycode-state-changed.h
+++ b/app/include/zmk/events/keycode-state-changed.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/include/zmk/events/modifiers-state-changed.h b/app/include/zmk/events/modifiers-state-changed.h
index a17a093178..b39e11e0f1 100644
--- a/app/include/zmk/events/modifiers-state-changed.h
+++ b/app/include/zmk/events/modifiers-state-changed.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/include/zmk/events/position-state-changed.h b/app/include/zmk/events/position-state-changed.h
index c91688ee9f..f88080d260 100644
--- a/app/include/zmk/events/position-state-changed.h
+++ b/app/include/zmk/events/position-state-changed.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/include/zmk/events/sensor-event.h b/app/include/zmk/events/sensor-event.h
index f881ac5c24..a9302a5cf4 100644
--- a/app/include/zmk/events/sensor-event.h
+++ b/app/include/zmk/events/sensor-event.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/include/zmk/handlers.h b/app/include/zmk/handlers.h
index a10851f879..7ce1d27eca 100644
--- a/app/include/zmk/handlers.h
+++ b/app/include/zmk/handlers.h
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
+
#pragma once
#include <dt-bindings/zmk/keys.h>
diff --git a/app/include/zmk/hid.h b/app/include/zmk/hid.h
index 138606a5c0..a945e72987 100644
--- a/app/include/zmk/hid.h
+++ b/app/include/zmk/hid.h
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
+
#pragma once
#include <usb/usb_device.h>
diff --git a/app/include/zmk/hog.h b/app/include/zmk/hog.h
index e2f976a20d..a7dda5156d 100644
--- a/app/include/zmk/hog.h
+++ b/app/include/zmk/hog.h
@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
#pragma once
diff --git a/app/include/zmk/keymap.h b/app/include/zmk/keymap.h
index c1f63932b5..6192587899 100644
--- a/app/include/zmk/keymap.h
+++ b/app/include/zmk/keymap.h
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
+
#pragma once
bool zmk_keymap_layer_active(u8_t layer);
diff --git a/app/include/zmk/keys.h b/app/include/zmk/keys.h
index 6966bbac05..ee9c3d93c2 100644
--- a/app/include/zmk/keys.h
+++ b/app/include/zmk/keys.h
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
+
#pragma once
#include <zephyr.h>
diff --git a/app/include/zmk/kscan.h b/app/include/zmk/kscan.h
index ebffccdafe..33526008ee 100644
--- a/app/include/zmk/kscan.h
+++ b/app/include/zmk/kscan.h
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
+
#pragma once
int zmk_kscan_init(char *name);
diff --git a/app/include/zmk/matrix.h b/app/include/zmk/matrix.h
index 30882638ef..1614317677 100644
--- a/app/include/zmk/matrix.h
+++ b/app/include/zmk/matrix.h
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
+
#pragma once
#include <devicetree.h>
diff --git a/app/include/zmk/matrix_transform.h b/app/include/zmk/matrix_transform.h
index e9e969a4f8..29c2afcd23 100644
--- a/app/include/zmk/matrix_transform.h
+++ b/app/include/zmk/matrix_transform.h
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
+
#pragma once
u32_t zmk_matrix_transform_row_column_to_position(u32_t row, u32_t column); \ No newline at end of file
diff --git a/app/include/zmk/rgb_underglow.h b/app/include/zmk/rgb_underglow.h
index 69e9a9bb82..94cc32cc7f 100644
--- a/app/include/zmk/rgb_underglow.h
+++ b/app/include/zmk/rgb_underglow.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Nick Winans <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/include/zmk/sensors.h b/app/include/zmk/sensors.h
index c60cd4bea0..63dcade0f6 100644
--- a/app/include/zmk/sensors.h
+++ b/app/include/zmk/sensors.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/include/zmk/usb_hid.h b/app/include/zmk/usb_hid.h
index 5d7c744a5c..7ee26298b9 100644
--- a/app/include/zmk/usb_hid.h
+++ b/app/include/zmk/usb_hid.h
@@ -1,5 +1,10 @@
-#ifndef ZMK_USB_HID
-#define ZMK_USB_HID
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
+
+#pragma once
#include <usb/usb_device.h>
#include <usb/class/usb_hid.h>
@@ -10,5 +15,3 @@
int zmk_usb_hid_init();
int zmk_usb_hid_send_report(u8_t *report, size_t len);
-
-#endif
diff --git a/app/run-test.sh b/app/run-test.sh
index be335c62ca..3b7cd5899a 100755
--- a/app/run-test.sh
+++ b/app/run-test.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Copyright (c) 2020 Peter Johanson; Cody McGinnis
+# Copyright (c) 2020 The ZMK Contributors
#
# SPDX-License-Identifier: MIT
#
diff --git a/app/src/behaviors/behavior_hold_tap.c b/app/src/behaviors/behavior_hold_tap.c
index 2c6d996ea1..dce724d9e1 100644
--- a/app/src/behaviors/behavior_hold_tap.c
+++ b/app/src/behaviors/behavior_hold_tap.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Cody McGinnis, Okke Formsma
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/behaviors/behavior_key_press.c b/app/src/behaviors/behavior_key_press.c
index 7404c7987f..42becf50fb 100644
--- a/app/src/behaviors/behavior_key_press.c
+++ b/app/src/behaviors/behavior_key_press.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/behaviors/behavior_momentary_layer.c b/app/src/behaviors/behavior_momentary_layer.c
index 8a8584a98d..7d6513541c 100644
--- a/app/src/behaviors/behavior_momentary_layer.c
+++ b/app/src/behaviors/behavior_momentary_layer.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/behaviors/behavior_none.c b/app/src/behaviors/behavior_none.c
index e822d5e180..c46498829d 100644
--- a/app/src/behaviors/behavior_none.c
+++ b/app/src/behaviors/behavior_none.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/behaviors/behavior_reset.c b/app/src/behaviors/behavior_reset.c
index 30a96ea889..b5692b5059 100644
--- a/app/src/behaviors/behavior_reset.c
+++ b/app/src/behaviors/behavior_reset.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/behaviors/behavior_rgb_underglow.c b/app/src/behaviors/behavior_rgb_underglow.c
index 7a48e07025..f0a35ef8b2 100644
--- a/app/src/behaviors/behavior_rgb_underglow.c
+++ b/app/src/behaviors/behavior_rgb_underglow.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Nick Winans <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/behaviors/behavior_sensor_rotate_key_press.c b/app/src/behaviors/behavior_sensor_rotate_key_press.c
index fb0fb85200..fa555752dc 100644
--- a/app/src/behaviors/behavior_sensor_rotate_key_press.c
+++ b/app/src/behaviors/behavior_sensor_rotate_key_press.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/behaviors/behavior_toggle_layer.c b/app/src/behaviors/behavior_toggle_layer.c
index 02a76d29a4..c6d522511e 100644
--- a/app/src/behaviors/behavior_toggle_layer.c
+++ b/app/src/behaviors/behavior_toggle_layer.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Cody McGinnis <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/behaviors/behavior_transparent.c b/app/src/behaviors/behavior_transparent.c
index 5109264a18..51f682b5d6 100644
--- a/app/src/behaviors/behavior_transparent.c
+++ b/app/src/behaviors/behavior_transparent.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/ble.c b/app/src/ble.c
index 0e96d16a00..c4d3efd511 100644
--- a/app/src/ble.c
+++ b/app/src/ble.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/ble_unpair_combo.c b/app/src/ble_unpair_combo.c
index 82fa83424c..3633a5b060 100644
--- a/app/src/ble_unpair_combo.c
+++ b/app/src/ble_unpair_combo.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/display.c b/app/src/display.c
index 9021914f3e..dca462e4e6 100644
--- a/app/src/display.c
+++ b/app/src/display.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/endpoints.c b/app/src/endpoints.c
index c9ba7169e6..61e86ceed3 100644
--- a/app/src/endpoints.c
+++ b/app/src/endpoints.c
@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
#include <zmk/endpoints.h>
#include <zmk/hid.h>
diff --git a/app/src/event_manager.c b/app/src/event_manager.c
index 47ad6b73bd..6d37e4e66c 100644
--- a/app/src/event_manager.c
+++ b/app/src/event_manager.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/events/keycode_state_changed.c b/app/src/events/keycode_state_changed.c
index 73508e1680..9a1984a318 100644
--- a/app/src/events/keycode_state_changed.c
+++ b/app/src/events/keycode_state_changed.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/events/modifiers_state_changed.c b/app/src/events/modifiers_state_changed.c
index 71ec015b7a..8becd02f47 100644
--- a/app/src/events/modifiers_state_changed.c
+++ b/app/src/events/modifiers_state_changed.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/events/position_state_changed.c b/app/src/events/position_state_changed.c
index 69cba03c7d..f8f1a2681e 100644
--- a/app/src/events/position_state_changed.c
+++ b/app/src/events/position_state_changed.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/events/sensor_event.c b/app/src/events/sensor_event.c
index 1b0302dd7a..c6b80cd640 100644
--- a/app/src/events/sensor_event.c
+++ b/app/src/events/sensor_event.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/hid.c b/app/src/hid.c
index ca0405622b..07fc3a0b50 100644
--- a/app/src/hid.c
+++ b/app/src/hid.c
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
+
#include <logging/log.h>
LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
diff --git a/app/src/hid_listener.c b/app/src/hid_listener.c
index 69aa23e7ea..9f68ca208e 100644
--- a/app/src/hid_listener.c
+++ b/app/src/hid_listener.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/hog.c b/app/src/hog.c
index 589c28ff60..92858d561c 100644
--- a/app/src/hog.c
+++ b/app/src/hog.c
@@ -1,3 +1,9 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
+
#include <settings/settings.h>
#include <bluetooth/bluetooth.h>
diff --git a/app/src/keymap.c b/app/src/keymap.c
index 57cdad6ec2..b1c68f1ed3 100644
--- a/app/src/keymap.c
+++ b/app/src/keymap.c
@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
#include <sys/util.h>
#include <logging/log.h>
diff --git a/app/src/kscan.c b/app/src/kscan.c
index 63713f1f23..7a4d3a49b8 100644
--- a/app/src/kscan.c
+++ b/app/src/kscan.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/kscan_composite.c b/app/src/kscan_composite.c
index d46484b7bf..15527ebe7c 100644
--- a/app/src/kscan_composite.c
+++ b/app/src/kscan_composite.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/kscan_mock.c b/app/src/kscan_mock.c
index d626c71e38..741f6c1706 100644
--- a/app/src/kscan_mock.c
+++ b/app/src/kscan_mock.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/main.c b/app/src/main.c
index 5a678ee0af..5da272e502 100644
--- a/app/src/main.c
+++ b/app/src/main.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/matrix_transform.c b/app/src/matrix_transform.c
index 7ecf1ae0b4..8a037b3433 100644
--- a/app/src/matrix_transform.c
+++ b/app/src/matrix_transform.c
@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
#include <zephyr.h>
#include <zmk/matrix_transform.h>
diff --git a/app/src/rgb_underglow.c b/app/src/rgb_underglow.c
index 95adcec2f2..97c2ac0ac3 100644
--- a/app/src/rgb_underglow.c
+++ b/app/src/rgb_underglow.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Nick Winans <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/sensors.c b/app/src/sensors.c
index 501ce15b1d..7a7c0c5bf0 100644
--- a/app/src/sensors.c
+++ b/app/src/sensors.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/split/bluetooth/central.c b/app/src/split/bluetooth/central.c
index 237096fd40..9e67228e3c 100644
--- a/app/src/split/bluetooth/central.c
+++ b/app/src/split/bluetooth/central.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/split/bluetooth/service.c b/app/src/split/bluetooth/service.c
index e1d232a4c1..0a5ddb7ad7 100644
--- a/app/src/split/bluetooth/service.c
+++ b/app/src/split/bluetooth/service.c
@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
#include <zephyr/types.h>
#include <sys/util.h>
diff --git a/app/src/split_listener.c b/app/src/split_listener.c
index 65f835a2de..46a95e149d 100644
--- a/app/src/split_listener.c
+++ b/app/src/split_listener.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 Peter Johanson <[email protected]>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
diff --git a/app/src/usb_hid.c b/app/src/usb_hid.c
index 784fc250a2..e2fe0f3d99 100644
--- a/app/src/usb_hid.c
+++ b/app/src/usb_hid.c
@@ -1,3 +1,8 @@
+/*
+ * Copyright (c) 2020 The ZMK Contributors
+ *
+ * SPDX-License-Identifier: MIT
+ */
#include <device.h>
#include <init.h>