From f4799481cddcc8713ad3bfb80e844acc0981af69 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 22 Mar 2020 06:19:01 +1100 Subject: [PATCH] Fix formatting for report.h (#8512) --- tmk_core/common/report.h | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/tmk_core/common/report.h b/tmk_core/common/report.h index 319ba4aab..61ef6ea66 100644 --- a/tmk_core/common/report.h +++ b/tmk_core/common/report.h @@ -21,13 +21,25 @@ along with this program. If not, see . #include #include "keycode.h" +// clang-format off + /* HID report IDs */ -enum hid_report_ids { REPORT_ID_KEYBOARD = 1, REPORT_ID_MOUSE, REPORT_ID_SYSTEM, REPORT_ID_CONSUMER, REPORT_ID_NKRO }; +enum hid_report_ids { + REPORT_ID_KEYBOARD = 1, + REPORT_ID_MOUSE, + REPORT_ID_SYSTEM, + REPORT_ID_CONSUMER, + REPORT_ID_NKRO +}; /* Mouse buttons */ -enum mouse_buttons { MOUSE_BTN1 = (1 << 0), MOUSE_BTN2 = (1 << 1), MOUSE_BTN3 = (1 << 2), MOUSE_BTN4 = (1 << 3), MOUSE_BTN5 = (1 << 4) }; - -// clang-format off +enum mouse_buttons { + MOUSE_BTN1 = (1 << 0), + MOUSE_BTN2 = (1 << 1), + MOUSE_BTN3 = (1 << 2), + MOUSE_BTN4 = (1 << 3), + MOUSE_BTN5 = (1 << 4) +}; /* Consumer Page (0x0C) *