diff options
Diffstat (limited to 'tmk_core/common/report.h')
-rw-r--r-- | tmk_core/common/report.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tmk_core/common/report.h b/tmk_core/common/report.h index f2223e806..1adc892f3 100644 --- a/tmk_core/common/report.h +++ b/tmk_core/common/report.h | |||
@@ -29,6 +29,7 @@ enum hid_report_ids { | |||
29 | REPORT_ID_MOUSE, | 29 | REPORT_ID_MOUSE, |
30 | REPORT_ID_SYSTEM, | 30 | REPORT_ID_SYSTEM, |
31 | REPORT_ID_CONSUMER, | 31 | REPORT_ID_CONSUMER, |
32 | REPORT_ID_PROGRAMMABLE_BUTTON, | ||
32 | REPORT_ID_NKRO, | 33 | REPORT_ID_NKRO, |
33 | REPORT_ID_JOYSTICK, | 34 | REPORT_ID_JOYSTICK, |
34 | REPORT_ID_DIGITIZER | 35 | REPORT_ID_DIGITIZER |
@@ -196,6 +197,11 @@ typedef struct { | |||
196 | } __attribute__((packed)) report_extra_t; | 197 | } __attribute__((packed)) report_extra_t; |
197 | 198 | ||
198 | typedef struct { | 199 | typedef struct { |
200 | uint8_t report_id; | ||
201 | uint32_t usage; | ||
202 | } __attribute__((packed)) report_programmable_button_t; | ||
203 | |||
204 | typedef struct { | ||
199 | #ifdef MOUSE_SHARED_EP | 205 | #ifdef MOUSE_SHARED_EP |
200 | uint8_t report_id; | 206 | uint8_t report_id; |
201 | #endif | 207 | #endif |