Fix all prefixes

This commit is contained in:
urob 2023-01-16 15:20:19 -05:00
parent 1fa827d813
commit 9217b1b9d2
15 changed files with 19 additions and 19 deletions

View file

@ -7,7 +7,7 @@
#pragma once
#include <zephyr.h>
#include <zephyr/kernel.h>
#include <zmk/hid.h>
#include <zmk/event_manager.h>
#include <zmk/mouse.h>

View file

@ -7,7 +7,7 @@
#pragma once
#include <zephyr.h>
#include <zephyr/kernel.h>
#include <zmk/event_manager.h>
#include <zmk/mouse.h>

View file

@ -7,7 +7,7 @@
#pragma once
#include <zephyr.h>
#include <zephyr/kernel.h>
#include <zmk/event_manager.h>
#include <zmk/mouse.h>
#include <dt-bindings/zmk/mouse.h>

View file

@ -8,7 +8,7 @@
#pragma once
#include <dt-bindings/zmk/mouse.h>
#include <zephyr.h>
#include <zephyr/kernel.h>
#include <zmk/event_manager.h>
#include <zmk/mouse.h>

View file

@ -6,7 +6,7 @@
#pragma once
#include <zephyr.h>
#include <zephyr/kernel.h>
#include <dt-bindings/zmk/mouse.h>
typedef uint16_t zmk_mouse_button_flags_t;

View file

@ -6,9 +6,9 @@
#define DT_DRV_COMPAT zmk_behavior_mouse_key_press
#include <device.h>
#include <zephyr/device.h>
#include <drivers/behavior.h>
#include <logging/log.h>
#include <zephyr/logging/log.h>
#include <zmk/behavior.h>
#include <zmk/event_manager.h>

View file

@ -6,9 +6,9 @@
#define DT_DRV_COMPAT zmk_behavior_mouse_move
#include <device.h>
#include <zephyr/device.h>
#include <drivers/behavior.h>
#include <logging/log.h>
#include <zephyr/logging/log.h>
#include <zmk/behavior.h>
#include <zmk/event_manager.h>

View file

@ -6,9 +6,9 @@
#define DT_DRV_COMPAT zmk_behavior_mouse_scroll
#include <device.h>
#include <zephyr/device.h>
#include <drivers/behavior.h>
#include <logging/log.h>
#include <zephyr/logging/log.h>
#include <zmk/event_manager.h>
#include <zmk/events/mouse_scroll_state_changed.h>

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
*/
#include <kernel.h>
#include <zephyr/kernel.h>
#include <zmk/events/mouse_button_state_changed.h>
ZMK_EVENT_IMPL(zmk_mouse_button_state_changed);

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
*/
#include <kernel.h>
#include <zephyr/kernel.h>
#include <zmk/events/mouse_move_state_changed.h>
ZMK_EVENT_IMPL(zmk_mouse_move_state_changed);

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
*/
#include <kernel.h>
#include <zephyr/kernel.h>
#include <zmk/events/mouse_scroll_state_changed.h>
ZMK_EVENT_IMPL(zmk_mouse_scroll_state_changed);

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
*/
#include <kernel.h>
#include <zephyr/kernel.h>
#include <zmk/events/mouse_tick.h>
ZMK_EVENT_IMPL(zmk_mouse_tick);

View file

@ -5,7 +5,7 @@
*/
#include <drivers/behavior.h>
#include <logging/log.h>
#include <zephyr/logging/log.h>
LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
*/
#include <kernel.h>
#include <zephyr/kernel.h>
#include <zmk/mouse.h>
#if IS_ENABLED(CONFIG_ZMK_MOUSE_WORK_QUEUE_DEDICATED)

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
*/
#include <logging/log.h>
#include <zephyr/logging/log.h>
LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
@ -14,7 +14,7 @@ LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
#include <zmk/hid.h>
#include <zmk/mouse.h>
#include <sys/util.h> // CLAMP
#include <zephyr/sys/util.h> // CLAMP
#if !defined(CONFIG_ZMK_SPLIT) || defined(CONFIG_ZMK_SPLIT_ROLE_CENTRAL)
#if CONFIG_MINIMAL_LIBC