Quantcast
Channel: Renesas Synergy Platform
Viewing all articles
Browse latest Browse all 23645

Forum Post: RE: GUIX - setting up events and handlers

$
0
0
You can find an example of triggering custom drawing function on timer event (that is started on touch event) here: renesasrulz.com/.../6221.aspx (2nd post from the bottom). Example showing how to interface IRQ's (physical button press) with GUIX is found in the last post in the following topic: renesasrulz.com/.../6250.aspx Here's a snippet from one of my projects where I'm defining few custom events: #define APP_EVENT_STATUS_CHANGED (GX_FIRST_APP_EVENT + 1) #define APP_EVENT_VOLUME_CHANGED (GX_FIRST_APP_EVENT + 2) #define APP_EVENT_USB_INSERTED   (GX_FIRST_APP_EVENT + 3) #define APP_EVENT_USB_REMOVED    (GX_FIRST_APP_EVENT + 4) #define APP_EVENT_ERROR          (GX_FIRST_APP_EVENT + 5)

Viewing all articles
Browse latest Browse all 23645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>