I have been working with GUIX for Renesas Synergy platform. In many applications and demo codes provided by Renesas, they have used a touch driver with its framework from SSP. In every case of touch events they have used a macro named GX_SIGNAL, which is called when the touch panel is contacted at a point. In demo code, they have neither compared touch co-ordinates touched with actual pixelmap co-ordinates, nor have they generated and events.
My question is that how does the system know that the button at the exact point is touched and is selected? How is the GX_SIGNAL generated by system and how does it compare the touch coordinates with that particular pixelmap and selects it accordingly?
I am using a Resistive Touch Panel without touch driver. I am reading raw ADC counts to get my X/Y co-ordinates and scale it according to my display. I want that whenever any coordinate within a pixelmap area is touched, it generates GX_SIGNAL for that pixelmap widget id and pixelmap should change to its selected state while its is being touched and it should go back to its normal state when released.
Can anyone help me with this?
Good day, Nirav! How are things going for you? Do you have any progress on this? I thought you might to refer to GUIX Synergy Port Framework Module Guide. It elaborates the event notification, as well as the GX_EVENT data type and gx_signal macro. See page 8-10 of the document. I hope that will help you. Best regards, Sai RenesasRulz Forum Moderator https://renesasrulz.com/ https://academy.renesas.com/ en-us.knowledgebase.renesas.com/
In reply to Sai:
In reply to Nirav: