aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/src
diff options
context:
space:
mode:
authorPete Johanson <[email protected]>2020-11-03 00:21:20 -0500
committerPete Johanson <[email protected]>2020-11-03 00:21:20 -0500
commit32e715937379eea431b54cf73f15a785527f3aa1 (patch)
treec1c81c51745a9a71f3ff41668c4addec54153ad8 /app/src
parent55b5936d00cd92e734e4fa8136ee30cf156ecec3 (diff)
downloadzmk-32e715937379eea431b54cf73f15a785527f3aa1.tar.gz
zmk-32e715937379eea431b54cf73f15a785527f3aa1.zip
refactor(hid): Mod defines in dedicated header.
Diffstat (limited to 'app/src')
-rw-r--r--app/src/hid.c2
-rw-r--r--app/src/usb.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/app/src/hid.c b/app/src/hid.c
index 001d7d31c6..1925765c1b 100644
--- a/app/src/hid.c
+++ b/app/src/hid.c
@@ -8,7 +8,7 @@
LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
#include <zmk/hid.h>
-#include <dt-bindings/zmk/keys.h>
+#include <dt-bindings/zmk/modifiers.h>
static struct zmk_hid_keypad_report kp_report = {
.report_id = 1, .body = {.modifiers = 0, ._reserved = 0, .keys = {0}}};
diff --git a/app/src/usb.c b/app/src/usb.c
index d4bc2e41f4..79d03c7b5b 100644
--- a/app/src/usb.c
+++ b/app/src/usb.c
@@ -9,7 +9,6 @@
#include <usb/usb_device.h>
#include <usb/class/usb_hid.h>
-#include <dt-bindings/zmk/keys.h>
#include <zmk/hid.h>
#include <zmk/keymap.h>