From 866c9dd96e22c3f14dc64d1994b8fa453f666b3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20A=CC=81ngel?= Date: Sat, 30 Oct 2021 18:47:15 +0000 Subject: [PATCH] Format code --- app/include/zmk/hid.h | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/app/include/zmk/hid.h b/app/include/zmk/hid.h index 9afe009b..29696b0e 100644 --- a/app/include/zmk/hid.h +++ b/app/include/zmk/hid.h @@ -138,32 +138,35 @@ static const uint8_t zmk_hid_report_desc[] = { #ifdef CONFIG_ZMK_USB_REPORT_LEDS /* LED */ - 0x85, 0x01, + 0x85, + 0x01, /* REPORT_COUNT (5) */ HID_GI_REPORT_COUNT, 0x05, /* REPORT_SIZE (1) */ - HID_GI_REPORT_SIZE, + HID_GI_REPORT_SIZE, 0x01, /* USAGE_PAGE (Page# for LEDs) */ - HID_GI_USAGE_PAGE, + HID_GI_USAGE_PAGE, 0x08, /* USAGE_MINIMUM (1) */ - 0x19, 0x01, + 0x19, + 0x01, /* USAGE_MAXIMUM (5) */ - 0x29, 0x05, + 0x29, + 0x05, /* OUTPUT (Data, Variable, Absolute), */ - HID_MI_OUTPUT, + HID_MI_OUTPUT, 0x02, - /* LED REPORT */ + /* LED REPORT */ /* REPORT_COUNT (1) */ - HID_GI_REPORT_COUNT, + HID_GI_REPORT_COUNT, 0x01, /* REPORT_SIZE (3) */ - HID_GI_REPORT_SIZE, + HID_GI_REPORT_SIZE, 0x03, /* OUTPUT (Data, Variable, Absolute), */ - HID_MI_OUTPUT, + HID_MI_OUTPUT, 0x01, #endif /* CONFIG_ZMK_USB_REPORT_LEDS */