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)
↧