STM32CubeMX does not give option to disable touch controller in target/generated/TouchGFXConfiguration.cpp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Labels:
-
Bug-report
-
STM32CubeMX
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-08 9: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-08 9: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-09 12:03 AM
Oh, ok. Thanks!
Is the NoTouchController deprecated class then?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-09 1: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
