mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-22 03:19:24 +00:00
update mouse logging
This commit is contained in:
parent
97efc9340a
commit
0e7e4fffac
@ -32,15 +32,7 @@ std::ostream& operator<<(std::ostream& os, const report_mouse_t& report) {
|
||||
return os << "empty" << std::endl;
|
||||
}
|
||||
|
||||
os << "(";
|
||||
|
||||
os << (int)report.x << ", ";
|
||||
os << (int)report.y << ", ";
|
||||
os << (int)report.h << ", ";
|
||||
os << (int)report.v << ", ";
|
||||
os << (int)report.buttons;
|
||||
|
||||
os << ")";
|
||||
os << "(X:" << (int)report.x << ", Y:" << (int)report.y << ", H:" << (int)report.h << ", V:" << (int)report.v << ", B:" << (int)report.buttons << ")";
|
||||
return os << std::endl;
|
||||
}
|
||||
|
||||
|
@ -54,6 +54,7 @@ void TestDriver::send_nkro(report_nkro_t* report) {
|
||||
}
|
||||
|
||||
void TestDriver::send_mouse(report_mouse_t* report) {
|
||||
test_logger.trace() << std::setw(10) << std::left << "send_mouse: (X:" << (int)report->x << ", Y:" << (int)report->y << ", H:" << (int)report->h << ", V:" << (int)report->v << ", B:" << (int)report->buttons << ")" << std::endl;
|
||||
m_this->send_mouse_mock(*report);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user