core: mouse debug print

This commit is contained in:
tmk 2023-10-31 03:10:01 +09:00
parent 294403ffbf
commit 50347c692b

View file

@ -106,6 +106,10 @@ void host_mouse_send(report_mouse_t *report)
#endif
(*driver->send_mouse)(report);
report->buttons = b;
if (debug_mouse) {
xprintf("mouse: [%02X|%d %d %d %d]\n", report->buttons, report->x, report->y, report->v, report->h);
}
}
void host_system_send(uint16_t report)