diff options
author | fauxpark <fauxpark@gmail.com> | 2020-02-03 07:17:05 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-02 12:17:05 -0800 |
commit | b2ce2f8a34fba72e4b4ac2fba0ec11431b0acb0c (patch) | |
tree | 58494d6dd519ac3b87b431188bd9b0e1b14befae /tmk_core/common | |
parent | 5b91c3e0a0dc8152f69130cf047f3df0d0f94421 (diff) |
Dedupe extrakey report struct, and send functions in V-USB & LUFA (#7993)
* Dedupe extrakey report struct, and send functions in V-USB & LUFA
* Doc comment for consistency
* Wrap it in ifdef to prevent unused function error
* Do the same for ATSAM
Diffstat (limited to 'tmk_core/common')
-rw-r--r-- | tmk_core/common/report.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tmk_core/common/report.h b/tmk_core/common/report.h index ccc6d599b3..2a9dad8811 100644 --- a/tmk_core/common/report.h +++ b/tmk_core/common/report.h @@ -151,6 +151,11 @@ typedef union { } __attribute__((packed)) report_keyboard_t; typedef struct { + uint8_t report_id; + uint16_t usage; +} __attribute__((packed)) report_extra_t; + +typedef struct { #ifdef MOUSE_SHARED_EP uint8_t report_id; #endif |