Add special function to disable the touch screen (#942)

* added a new special function to disable the touch screen

* Bump libopenui

* Don't try to disable touch if no hardware touch

* Disable processing of SF if no touch hardware

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
Malte Langermann
2021-10-25 23:20:57 +11:00
committed by GitHub
co-authored by Peter Feerick
parent e4b5460e5c
commit c59f579bbe
24 changed files with 57 additions and 22 deletions
+5 -1
View File
@@ -388,7 +388,11 @@ void evalFunctions(const CustomFunctionData * functions, CustomFunctionsContext
}
break;
#endif
#if defined(HARDWARE_TOUCH)
case FUNC_DISABLE_TOUCH:
newActiveFunctions |= (1u << FUNCTION_DISABLE_TOUCH);
break;
#endif
#if defined(DEBUG)
case FUNC_TEST:
testFunc();