Edit: Re-read what you asked for, not using the Event thing, well, this might be of use anyway!
I use Dev-C++ to code, the one that came with the Offical DevPack.
After searching about I found this lump of code I use as an include to my main file:
#ifdef GP2X
#define GP2X_EVENT_DOWN...