diff options
| author | QMK Bot <hello@qmk.fm> | 2020-03-21 12:58:19 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2020-03-21 12:58:19 +0000 |
| commit | f9c53ca71a7cefbbd9cfcb68861bb5308cc88e4a (patch) | |
| tree | 450973d879a79c2a2c3db0460cef90fa8975f814 /tmk_core | |
| parent | 0d189582c124472acc4a47ff7c4c8f1019a226c1 (diff) | |
| download | qmk_firmware-f9c53ca71a7cefbbd9cfcb68861bb5308cc88e4a.tar.gz qmk_firmware-f9c53ca71a7cefbbd9cfcb68861bb5308cc88e4a.zip | |
format code according to conventions [skip ci]
Diffstat (limited to 'tmk_core')
| -rw-r--r-- | tmk_core/common/report.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/tmk_core/common/report.h b/tmk_core/common/report.h index af91718bd..319ba4aab 100644 --- a/tmk_core/common/report.h +++ b/tmk_core/common/report.h | |||
| @@ -22,22 +22,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #include "keycode.h" | 22 | #include "keycode.h" |
| 23 | 23 | ||
| 24 | /* HID report IDs */ | 24 | /* HID report IDs */ |
| 25 | enum hid_report_ids { | 25 | enum hid_report_ids { REPORT_ID_KEYBOARD = 1, REPORT_ID_MOUSE, REPORT_ID_SYSTEM, REPORT_ID_CONSUMER, REPORT_ID_NKRO }; |
| 26 | REPORT_ID_KEYBOARD = 1, | ||
| 27 | REPORT_ID_MOUSE, | ||
| 28 | REPORT_ID_SYSTEM, | ||
| 29 | REPORT_ID_CONSUMER, | ||
| 30 | REPORT_ID_NKRO | ||
| 31 | }; | ||
| 32 | 26 | ||
| 33 | /* Mouse buttons */ | 27 | /* Mouse buttons */ |
| 34 | enum 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) }; |
| 35 | MOUSE_BTN1 = (1 << 0), | ||
| 36 | MOUSE_BTN2 = (1 << 1), | ||
| 37 | MOUSE_BTN3 = (1 << 2), | ||
| 38 | MOUSE_BTN4 = (1 << 3), | ||
| 39 | MOUSE_BTN5 = (1 << 4) | ||
| 40 | }; | ||
| 41 | 29 | ||
| 42 | // clang-format off | 30 | // clang-format off |
| 43 | 31 | ||
