[Core] Don't send keyboard reports that propagate no changes to the host (#14065)
This commit is contained in:
parent
ce5a2a7367
commit
8b865a9d64
10 changed files with 51 additions and 71 deletions
|
@ -48,7 +48,6 @@ void TestFixture::SetUpTestCase() {
|
|||
eeconfig_update_debug(debug_config.raw);
|
||||
|
||||
TestDriver driver;
|
||||
EXPECT_CALL(driver, send_keyboard_mock(_));
|
||||
keyboard_init();
|
||||
|
||||
test_logger.info() << "TestFixture setup-up end." << std::endl;
|
||||
|
@ -62,8 +61,6 @@ TestFixture::~TestFixture() {
|
|||
test_logger.info() << "TestFixture clean-up start." << std::endl;
|
||||
TestDriver driver;
|
||||
|
||||
EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport())).Times(2);
|
||||
|
||||
/* Reset keyboard state. */
|
||||
clear_all_keys();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue