Browse Source

refactor(app): Remove obsolete include's of `hid_usage_pages.h`

This should've been done in eff1b8223b.
xmkb
innovaker 4 years ago committed by Pete Johanson
parent
commit
348a44a8a3
  1. 2
      app/dts/behaviors/key_press.dtsi
  2. 2
      app/dts/behaviors/sensor_rotate_key_press.dtsi
  3. 1
      app/src/hid.c

2
app/dts/behaviors/key_press.dtsi

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#include <dt-bindings/zmk/hid_usage_pages.h>
/ {
behaviors {
/* DEPRECATED: `cp` will be removed in the future */

2
app/dts/behaviors/sensor_rotate_key_press.dtsi

@ -1,6 +1,4 @@ @@ -1,6 +1,4 @@
#include <dt-bindings/zmk/hid_usage_pages.h>
/ {
behaviors {
/* DEPRECATED: `inc_dec_cp` will be removed in the future */

1
app/src/hid.c

@ -9,7 +9,6 @@ LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL); @@ -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}}};

Loading…
Cancel
Save