More natural interface for setting keyboard leds
This commit is contained in:
1 parent
36f820be7e
commit
43d8fa5bf1
4 files changed
+4
-8
No files matched your search
@@ -27,7 +27,6 @@ TestDriver::TestDriver()
|
||||
&TestDriver::send_consumer
|
||||
}
|
||||
{
|
||||
|
||||
host_set_driver(&m_driver);
|
||||
m_this = this;
|
||||
}
|
||||
@@ -37,7 +36,7 @@ TestDriver::~TestDriver() {
|
||||
}
|
||||
|
||||
uint8_t TestDriver::keyboard_leds(void) {
|
||||
return m_this->keyboard_leds_mock();
|
||||
return m_this->m_leds;
|
||||
}
|
||||
|
||||
void TestDriver::send_keyboard(report_keyboard_t* report) {
|
||||
|
||||
Reference in new issue
Block a user