Phsysical Buttons are not shown anymore in Touchgfx Designer 4.21 after updating from 4.20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-03 10:19 PM
in TouchGFX 4.20 i added PhysicalButtons like described in the documentation and it worked fine
- "PhysicalButtons": [
- {
- "Key": 0,
- "Name": "BUTTON_0"
- }
- ],
I see BUTTON_0 appearing in the touchgfx designer Trigger "Hardware Button is clicked"
After updating to 4.21 this does not work anymore. The physical buttons are not shown in touchgfx designer
Solved! Go to Solution.
- Labels:
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-09 04:02 AM
is fixed now in 4.21.2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-04 05:45 AM
and the whole mechanism does not work anymore as it is not triggered
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-05 01:30 AM
Hello Jnevi.1,
Thank you for reporting this issue. Indeed, the physical button is not shown anymore in TouchGFX Designer, we'll look for a fix on this.
However, I think the mechanism still works, I've tried to use the trigger "Hardware button is clicked" with as button key a keyboard key (scroll down on the list and choosed 48 which is the "0" key of my keypad), and that still works. I've also checked in the generated code and everything is looking fine to me to use it :
In Screen1ViewBase.cpp
void Screen1ViewBase::handleKeyEvent(uint8_t key)
{
if(48 == key)
{
//Interaction1
//When hardware button 48 clicked change screen to Screen1
//Go to Screen1 with screen transition towards East
application().gotoScreen1ScreenSlideTransitionEast();
}
}
So I guess you should still be able to use your button.
/Osman
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-05 02:55 AM
thanks for your reply.
before reporting the error i did try and it did not work anymore in my application.
then i saw the button texts were missing in the designer so i did not dig deeper and downgraded.
i can look into it and try to give some deatils on where exactly it fails
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-13 01:21 AM
Sorry for the delay
You are right. It is still working even without the designer showing the button textlabels
my "TouchGFXConfiguration.cpp" was regenerated and so the buttonhandler was not registered & called
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-23 01:41 AM
Hello Jnevi.1,
Ok good to hear that it still works and it's only an issue of displaying the label.
We took note of this and we'll try to fix it for the next version.
/Osman
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-09 04:02 AM
is fixed now in 4.21.2