Add comment

custom
jacqueline 3 months ago
parent 934b1484b2
commit 6886c686d5
  1. 2
      src/tangara/input/lvgl_input_driver.cpp

@ -215,6 +215,8 @@ auto LvglInputDriver::pushHooks(lua_State* L) -> int {
for (auto& dev : inputs_) { for (auto& dev : inputs_) {
auto triggers = dev->triggers(); auto triggers = dev->triggers();
if (triggers.empty()) { if (triggers.empty()) {
// Some devices, e.g. hard reset, have no triggers. Don't include them
// in the hooks table.
continue; continue;
} }

Loading…
Cancel
Save