diff --git a/modules/touch/include/TouchInteraction.h b/modules/touch/include/TouchInteraction.h index 9cfd4922b4..0aad94b868 100644 --- a/modules/touch/include/TouchInteraction.h +++ b/modules/touch/include/TouchInteraction.h @@ -31,7 +31,6 @@ #include #include -#include #include #include #include diff --git a/modules/touch/src/TouchInteraction.cpp b/modules/touch/src/TouchInteraction.cpp index 30469409c6..c00784a417 100644 --- a/modules/touch/src/TouchInteraction.cpp +++ b/modules/touch/src/TouchInteraction.cpp @@ -133,13 +133,6 @@ bool TouchInteraction::gui(const std::vector& list) { } else if (_guiON) { uint32_t action = (_tap) ? 0 : 1; - - /*for (const auto& func : _moduleCallbacks.mouseButton) { - bool consumed = func(0, action); - if (consumed) { - OnScreenGUIModule::touchInput = { _guiON, pos, action }; - } - }*/ OnScreenGUIModule::touchInput = { _guiON, pos, action }; } return _guiON; // return if consumed