forked from mirrors/qmk_userspace
Strip out features to allow minimum firmware sizes (#8645)
This commit is contained in:
parent
c217186bea
commit
58a9c84d6b
6 changed files with 30 additions and 11 deletions
|
@ -158,10 +158,12 @@ typedef struct {
|
|||
} __attribute__((packed)) vusb_mouse_report_t;
|
||||
|
||||
static void send_mouse(report_mouse_t *report) {
|
||||
#if defined(MOUSE_ENABLE)
|
||||
vusb_mouse_report_t r = {.report_id = REPORT_ID_MOUSE, .report = *report};
|
||||
if (usbInterruptIsReady3()) {
|
||||
usbSetInterrupt3((void *)&r, sizeof(vusb_mouse_report_t));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef EXTRAKEY_ENABLE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue