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:
co-authored by
Peter Feerick
parent
e4b5460e5c
commit
c59f579bbe
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user