Fix init for InputEvent (#8015)

This commit is contained in:
Markus
2025-09-18 18:15:50 -05:00
committed by Ben Meadors
co-authored by Ben Meadors
parent 188283b382
commit 2567c03a3f
10 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ int32_t KbMatrixBase::runOnce()
if (key != 0) {
LOG_DEBUG("Key 0x%x pressed", key);
// reset shift now that we have a keypress
InputEvent e;
InputEvent e = {};
e.inputEvent = INPUT_BROKER_NONE;
e.source = this->_originName;
switch (key) {