summaryrefslogtreecommitdiff
path: root/app/src/hid.c
diff options
context:
space:
mode:
authorinnovaker <66737976+innovaker@users.noreply.github.com>2020-10-27 17:42:00 +0000
committerinnovaker <66737976+innovaker@users.noreply.github.com>2020-10-27 22:55:40 +0000
commitc402e953f6e9655898cd45af9b120d2a45dd45e0 (patch)
tree6561e1f27d8eb0a20206f8fe9c686c4ed81d33a8 /app/src/hid.c
parent8ce7d8de0133242d5896333add10be9ba2ae9363 (diff)
feat(hid): Make keypad report boot friendly
Add missing byte to make keypad report boot friendly.
Diffstat (limited to 'app/src/hid.c')
-rw-r--r--app/src/hid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/hid.c b/app/src/hid.c
index 28efee1..207b1ad 100644
--- a/app/src/hid.c
+++ b/app/src/hid.c
@@ -9,8 +9,8 @@ LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
#include <zmk/hid.h>
-static struct zmk_hid_keypad_report kp_report = {.report_id = 1,
- .body = {.modifiers = 0, .keys = {0}}};
+static struct zmk_hid_keypad_report kp_report = {
+ .report_id = 1, .body = {.modifiers = 0, ._reserved = 0, .keys = {0}}};
static struct zmk_hid_consumer_report consumer_report = {.report_id = 2, .body = {.keys = {0}}};