2025-05-27 5:38 PM - last edited on 2025-05-28 6:48 AM by GaetanGodart
GoodDay all stm32 developers,
My company having a IoT device that running touchGFX via SPI screen using stm32wb55, we found an issue that when switch to another screen, by calling button callback.
buttoncallback:
{
FrontendApplication *const poApp = static_cast<FrontendApplication *>(Application::getInstance());
if(p_gui_obj->contr_mgr.pending_screen_type != p_gui_obj->contr_mgr.curr_screen_type) poApp->gotoSettingScreenNoTransition();
}
While the LCD display transit to new screen, SettingScreen, at very first moment the button and toggle switch , slider able to react but the handleDragEvent
void SettingView::handleDragEvent(const DragEvent& event)
unable to get DragEvent until a short waiting like 2 seconds, is there any solution we can implement to shorten the wait time before the user could having a gesture input after a screen change?
Thank you for your help in advance, I know you all have more experience than me.