From a62a2f8c5c9f505865a4f9cde8d0479b3e2219e5 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Tue, 30 Jun 2020 16:13:03 -0400 Subject: [PATCH] Cleanup, license headers. --- app/include/linker/zmk-events.ld | 6 ++++++ app/include/linker/zmk-linker-defs.h | 6 ------ app/include/zmk/event-manager.h | 6 ++++++ app/include/zmk/events/keycode-state-changed.h | 6 ++++++ app/include/zmk/events/modifiers-state-changed.h | 6 ++++++ app/include/zmk/events/position-state-changed.h | 6 ++++++ app/src/event_manager.c | 7 ++++++- app/src/events/keycode_state_changed.c | 6 +++++- app/src/events/modifiers_state_changed.c | 6 +++++- app/src/events/position_state_changed.c | 6 +++++- 10 files changed, 51 insertions(+), 10 deletions(-) delete mode 100644 app/include/linker/zmk-linker-defs.h diff --git a/app/include/linker/zmk-events.ld b/app/include/linker/zmk-events.ld index f2bf8334..44063be0 100644 --- a/app/include/linker/zmk-events.ld +++ b/app/include/linker/zmk-events.ld @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2020 Peter Johanson + * + * SPDX-License-Identifier: MIT + */ + #include __event_type_start = .; \ diff --git a/app/include/linker/zmk-linker-defs.h b/app/include/linker/zmk-linker-defs.h deleted file mode 100644 index 61b67414..00000000 --- a/app/include/linker/zmk-linker-defs.h +++ /dev/null @@ -1,6 +0,0 @@ - - -#define→EVENT_TYPE_SECTIONS()→ → → → \ -→ → __event_type_start = .;→ → \ -→ → KEEP(*(".event_type_*"));→ → \ -→ → __event_type_end = .;→→ → \ diff --git a/app/include/zmk/event-manager.h b/app/include/zmk/event-manager.h index 8c05a1bc..2ef55e93 100644 --- a/app/include/zmk/event-manager.h +++ b/app/include/zmk/event-manager.h @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2020 Peter Johanson + * + * SPDX-License-Identifier: MIT + */ + #pragma once #include diff --git a/app/include/zmk/events/keycode-state-changed.h b/app/include/zmk/events/keycode-state-changed.h index dc6e37ee..1663f9b0 100644 --- a/app/include/zmk/events/keycode-state-changed.h +++ b/app/include/zmk/events/keycode-state-changed.h @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2020 Peter Johanson + * + * SPDX-License-Identifier: MIT + */ + #pragma once #include diff --git a/app/include/zmk/events/modifiers-state-changed.h b/app/include/zmk/events/modifiers-state-changed.h index 57596b28..a17a0931 100644 --- a/app/include/zmk/events/modifiers-state-changed.h +++ b/app/include/zmk/events/modifiers-state-changed.h @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2020 Peter Johanson + * + * SPDX-License-Identifier: MIT + */ + #pragma once #include diff --git a/app/include/zmk/events/position-state-changed.h b/app/include/zmk/events/position-state-changed.h index 190b59db..c91688ee 100644 --- a/app/include/zmk/events/position-state-changed.h +++ b/app/include/zmk/events/position-state-changed.h @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2020 Peter Johanson + * + * SPDX-License-Identifier: MIT + */ + #pragma once #include diff --git a/app/src/event_manager.c b/app/src/event_manager.c index 012d285f..567cdf08 100644 --- a/app/src/event_manager.c +++ b/app/src/event_manager.c @@ -1,4 +1,9 @@ - +/* + * Copyright (c) 2020 Peter Johanson + * + * SPDX-License-Identifier: MIT + */ + #include #include diff --git a/app/src/events/keycode_state_changed.c b/app/src/events/keycode_state_changed.c index ae1b4c90..964b24aa 100644 --- a/app/src/events/keycode_state_changed.c +++ b/app/src/events/keycode_state_changed.c @@ -1,4 +1,8 @@ - +/* + * Copyright (c) 2020 Peter Johanson + * + * SPDX-License-Identifier: MIT + */ #include #include diff --git a/app/src/events/modifiers_state_changed.c b/app/src/events/modifiers_state_changed.c index b7ae02dd..71ec015b 100644 --- a/app/src/events/modifiers_state_changed.c +++ b/app/src/events/modifiers_state_changed.c @@ -1,4 +1,8 @@ - +/* + * Copyright (c) 2020 Peter Johanson + * + * SPDX-License-Identifier: MIT + */ #include #include diff --git a/app/src/events/position_state_changed.c b/app/src/events/position_state_changed.c index d67eedd4..69cba03c 100644 --- a/app/src/events/position_state_changed.c +++ b/app/src/events/position_state_changed.c @@ -1,4 +1,8 @@ - +/* + * Copyright (c) 2020 Peter Johanson + * + * SPDX-License-Identifier: MIT + */ #include #include