esp32 CYD (xpt2046) button callback not firing #583
Replies: 2 comments 4 replies
-
|
I would suggest creating a separate callback for each object this way you don't need to do a comparison of the objects in the event. doing that gets tricky because you need to cast the object that is collected using |
Beta Was this translation helpful? Give feedback.
-
|
Certainly I can do that but I'm not even seeing the "button_event_handler" print so it doesn't appear that the callback is being called. How does lvgl know about the touch device? I create a XPT2046 object 'indev' but how does it get associated with input widgets like buttons? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm having trouble getting button click callbacks to fire any idea what I'm doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions