forked from mirrors/qmk_userspace
Format code according to conventions (#16322)
This commit is contained in:
parent
afcdd7079c
commit
63646e8906
345 changed files with 4916 additions and 3229 deletions
|
@ -23,17 +23,27 @@ TestDriver::TestDriver() : m_driver{&TestDriver::keyboard_leds, &TestDriver::sen
|
|||
m_this = this;
|
||||
}
|
||||
|
||||
TestDriver::~TestDriver() { m_this = nullptr; }
|
||||
TestDriver::~TestDriver() {
|
||||
m_this = nullptr;
|
||||
}
|
||||
|
||||
uint8_t TestDriver::keyboard_leds(void) { return m_this->m_leds; }
|
||||
uint8_t TestDriver::keyboard_leds(void) {
|
||||
return m_this->m_leds;
|
||||
}
|
||||
|
||||
void TestDriver::send_keyboard(report_keyboard_t* report) {
|
||||
test_logger.trace() << *report;
|
||||
m_this->send_keyboard_mock(*report);
|
||||
}
|
||||
|
||||
void TestDriver::send_mouse(report_mouse_t* report) { m_this->send_mouse_mock(*report); }
|
||||
void TestDriver::send_mouse(report_mouse_t* report) {
|
||||
m_this->send_mouse_mock(*report);
|
||||
}
|
||||
|
||||
void TestDriver::send_system(uint16_t data) { m_this->send_system_mock(data); }
|
||||
void TestDriver::send_system(uint16_t data) {
|
||||
m_this->send_system_mock(data);
|
||||
}
|
||||
|
||||
void TestDriver::send_consumer(uint16_t data) { m_this->send_consumer(data); }
|
||||
void TestDriver::send_consumer(uint16_t data) {
|
||||
m_this->send_consumer(data);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue