2020-11-05 12:31 AM
I want to disable touch using NoTouchController class, but the TouchGFXConfiguration.cpp file is located in generated folder, but STM32CubeMX will always override this change.
CubeMX should have option to select TouchController.
Solved! Go to Solution.
2020-11-08 09:47 PM
Hello,
Indeed it does not but it should not impact your project at all. Since in the TouchController class the sample() function returns always false, TouchGFX does not take care of the TouchController.
When your question is answered, please close this topic by choosing Select as Best.
/Alexandre
2020-11-08 09:47 PM
Hello,
Indeed it does not but it should not impact your project at all. Since in the TouchController class the sample() function returns always false, TouchGFX does not take care of the TouchController.
When your question is answered, please close this topic by choosing Select as Best.
/Alexandre
2020-11-09 12:03 AM
Oh, ok. Thanks!
Is the NoTouchController deprecated class then?
2020-11-09 01:21 AM
I don't think so since the API page in the documentation website does not say so.
However, it is not used. You can see it if you look at the Application Template for G071-Nucleo available in TouchGFX Designer. In this kit, the display does not have a TouchController but it's still the TouchController class that is used :)
/Alexandre