summaryrefslogtreecommitdiff
path: root/app/include/zmk/hid.h
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-09-13 22:53:24 -0400
committerPete Johanson <peter@peterjohanson.com>2020-09-14 00:10:34 -0400
commit191a2d755ad4761bd04a30a113e05119ad7aa61e (patch)
tree5901165a6cd01427b55cda059f8587bc04b3e089 /app/include/zmk/hid.h
parent296a89ce6364fd97099d694dddcbb30e8b0925c0 (diff)
chore: clang-format the codebase.
* Use the LLVM style * Override indent width (8) and column limit (100) * Fixes #142.
Diffstat (limited to 'app/include/zmk/hid.h')
-rw-r--r--app/include/zmk/hid.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/app/include/zmk/hid.h b/app/include/zmk/hid.h
index a945e72..744de98 100644
--- a/app/include/zmk/hid.h
+++ b/app/include/zmk/hid.h
@@ -140,25 +140,21 @@ static const u8_t zmk_hid_report_desc[] = {
// u8_t keys[6];
// } __packed;
-struct zmk_hid_keypad_report_body
-{
+struct zmk_hid_keypad_report_body {
zmk_mod_flags modifiers;
u8_t keys[13];
} __packed;
-struct zmk_hid_keypad_report
-{
+struct zmk_hid_keypad_report {
u8_t report_id;
struct zmk_hid_keypad_report_body body;
} __packed;
-struct zmk_hid_consumer_report_body
-{
+struct zmk_hid_consumer_report_body {
u8_t keys[6];
} __packed;
-struct zmk_hid_consumer_report
-{
+struct zmk_hid_consumer_report {
u8_t report_id;
struct zmk_hid_consumer_report_body body;
} __packed;