Browse Source

Cleanup, license headers.

xmkb
Pete Johanson 4 years ago
parent
commit
a62a2f8c5c
  1. 6
      app/include/linker/zmk-events.ld
  2. 6
      app/include/linker/zmk-linker-defs.h
  3. 6
      app/include/zmk/event-manager.h
  4. 6
      app/include/zmk/events/keycode-state-changed.h
  5. 6
      app/include/zmk/events/modifiers-state-changed.h
  6. 6
      app/include/zmk/events/position-state-changed.h
  7. 7
      app/src/event_manager.c
  8. 6
      app/src/events/keycode_state_changed.c
  9. 6
      app/src/events/modifiers_state_changed.c
  10. 6
      app/src/events/position_state_changed.c

6
app/include/linker/zmk-events.ld

@ -1,3 +1,9 @@
/*
* Copyright (c) 2020 Peter Johanson <peter@peterjohanson.com>
*
* SPDX-License-Identifier: MIT
*/
#include <linker/linker-defs.h> #include <linker/linker-defs.h>
__event_type_start = .; \ __event_type_start = .; \

6
app/include/linker/zmk-linker-defs.h

@ -1,6 +0,0 @@
#define→EVENT_TYPE_SECTIONS()→ → → → \
__event_type_start = .; \
KEEP(*(".event_type_*")); \
__event_type_end = .; \

6
app/include/zmk/event-manager.h

@ -1,3 +1,9 @@
/*
* Copyright (c) 2020 Peter Johanson <peter@peterjohanson.com>
*
* SPDX-License-Identifier: MIT
*/
#pragma once #pragma once
#include <stddef.h> #include <stddef.h>

6
app/include/zmk/events/keycode-state-changed.h

@ -1,3 +1,9 @@
/*
* Copyright (c) 2020 Peter Johanson <peter@peterjohanson.com>
*
* SPDX-License-Identifier: MIT
*/
#pragma once #pragma once
#include <zephyr.h> #include <zephyr.h>

6
app/include/zmk/events/modifiers-state-changed.h

@ -1,3 +1,9 @@
/*
* Copyright (c) 2020 Peter Johanson <peter@peterjohanson.com>
*
* SPDX-License-Identifier: MIT
*/
#pragma once #pragma once
#include <zephyr.h> #include <zephyr.h>

6
app/include/zmk/events/position-state-changed.h

@ -1,3 +1,9 @@
/*
* Copyright (c) 2020 Peter Johanson <peter@peterjohanson.com>
*
* SPDX-License-Identifier: MIT
*/
#pragma once #pragma once
#include <zephyr.h> #include <zephyr.h>

7
app/src/event_manager.c

@ -1,4 +1,9 @@
/*
* Copyright (c) 2020 Peter Johanson <peter@peterjohanson.com>
*
* SPDX-License-Identifier: MIT
*/
#include <zephyr.h> #include <zephyr.h>
#include <logging/log.h> #include <logging/log.h>

6
app/src/events/keycode_state_changed.c

@ -1,4 +1,8 @@
/*
* Copyright (c) 2020 Peter Johanson <peter@peterjohanson.com>
*
* SPDX-License-Identifier: MIT
*/
#include <kernel.h> #include <kernel.h>
#include <zmk/events/keycode-state-changed.h> #include <zmk/events/keycode-state-changed.h>

6
app/src/events/modifiers_state_changed.c

@ -1,4 +1,8 @@
/*
* Copyright (c) 2020 Peter Johanson <peter@peterjohanson.com>
*
* SPDX-License-Identifier: MIT
*/
#include <kernel.h> #include <kernel.h>
#include <zmk/events/modifiers-state-changed.h> #include <zmk/events/modifiers-state-changed.h>

6
app/src/events/position_state_changed.c

@ -1,4 +1,8 @@
/*
* Copyright (c) 2020 Peter Johanson <peter@peterjohanson.com>
*
* SPDX-License-Identifier: MIT
*/
#include <kernel.h> #include <kernel.h>
#include <zmk/events/position-state-changed.h> #include <zmk/events/position-state-changed.h>

Loading…
Cancel
Save