summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinnovaker <66737976+innovaker@users.noreply.github.com>2020-11-08 11:37:18 +0000
committerPete Johanson <peter@peterjohanson.com>2020-11-10 14:22:53 -0500
commit348a44a8a387e38922e7e275b1ba9af790648016 (patch)
tree3d5746e3873ed5107086247401795d290b1c4f8f
parent972158181d33b268c2e5ec4860742dcbfe4f0e5c (diff)
refactor(app): Remove obsolete include's of `hid_usage_pages.h`
This should've been done in eff1b8223b5010d526914530c5d1d469eff356df.
-rw-r--r--app/dts/behaviors/key_press.dtsi2
-rw-r--r--app/dts/behaviors/sensor_rotate_key_press.dtsi2
-rw-r--r--app/src/hid.c1
3 files changed, 0 insertions, 5 deletions
diff --git a/app/dts/behaviors/key_press.dtsi b/app/dts/behaviors/key_press.dtsi
index 77050aa..e066832 100644
--- a/app/dts/behaviors/key_press.dtsi
+++ b/app/dts/behaviors/key_press.dtsi
@@ -1,6 +1,4 @@
-#include <dt-bindings/zmk/hid_usage_pages.h>
-
/ {
behaviors {
/* DEPRECATED: `cp` will be removed in the future */
diff --git a/app/dts/behaviors/sensor_rotate_key_press.dtsi b/app/dts/behaviors/sensor_rotate_key_press.dtsi
index 5433994..d06eca2 100644
--- a/app/dts/behaviors/sensor_rotate_key_press.dtsi
+++ b/app/dts/behaviors/sensor_rotate_key_press.dtsi
@@ -1,6 +1,4 @@
-#include <dt-bindings/zmk/hid_usage_pages.h>
-
/ {
behaviors {
/* DEPRECATED: `inc_dec_cp` will be removed in the future */
diff --git a/app/src/hid.c b/app/src/hid.c
index 7e733d9..b84a693 100644
--- a/app/src/hid.c
+++ b/app/src/hid.c
@@ -9,7 +9,6 @@ LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
#include <zmk/hid.h>
#include <dt-bindings/zmk/modifiers.h>
-#include <dt-bindings/zmk/hid_usage_pages.h>
static struct zmk_hid_keypad_report kp_report = {
.report_id = 1, .body = {.modifiers = 0, ._reserved = 0, .keys = {0}}};