diff options
author | Ryan <fauxpark@gmail.com> | 2020-03-22 06:19:01 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-22 06:19:01 +1100 |
commit | f4799481cddcc8713ad3bfb80e844acc0981af69 (patch) | |
tree | 09eafee21212283ff1fcfa60e9a0004a21c9061f /tmk_core | |
parent | 675b153525473be15300c9f0250619dcec883297 (diff) | |
download | qmk_firmware-f4799481cddcc8713ad3bfb80e844acc0981af69.tar.gz qmk_firmware-f4799481cddcc8713ad3bfb80e844acc0981af69.zip |
Fix formatting for report.h (#8512)
Diffstat (limited to 'tmk_core')
-rw-r--r-- | tmk_core/common/report.h | 20 |
1 files 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 <http://www.gnu.org/licenses/>. | |||
21 | #include <stdbool.h> | 21 | #include <stdbool.h> |
22 | #include "keycode.h" | 22 | #include "keycode.h" |
23 | 23 | ||
24 | // clang-format off | ||
25 | |||
24 | /* HID report IDs */ | 26 | /* HID report IDs */ |
25 | enum hid_report_ids { REPORT_ID_KEYBOARD = 1, REPORT_ID_MOUSE, REPORT_ID_SYSTEM, REPORT_ID_CONSUMER, REPORT_ID_NKRO }; | 27 | enum hid_report_ids { |
28 | REPORT_ID_KEYBOARD = 1, | ||
29 | REPORT_ID_MOUSE, | ||
30 | REPORT_ID_SYSTEM, | ||
31 | REPORT_ID_CONSUMER, | ||
32 | REPORT_ID_NKRO | ||
33 | }; | ||
26 | 34 | ||
27 | /* Mouse buttons */ | 35 | /* Mouse buttons */ |
28 | enum mouse_buttons { MOUSE_BTN1 = (1 << 0), MOUSE_BTN2 = (1 << 1), MOUSE_BTN3 = (1 << 2), MOUSE_BTN4 = (1 << 3), MOUSE_BTN5 = (1 << 4) }; | 36 | enum mouse_buttons { |
29 | 37 | MOUSE_BTN1 = (1 << 0), | |
30 | // clang-format off | 38 | MOUSE_BTN2 = (1 << 1), |
39 | MOUSE_BTN3 = (1 << 2), | ||
40 | MOUSE_BTN4 = (1 << 3), | ||
41 | MOUSE_BTN5 = (1 << 4) | ||
42 | }; | ||
31 | 43 | ||
32 | /* Consumer Page (0x0C) | 44 | /* Consumer Page (0x0C) |
33 | * | 45 | * |