Is there any easy way to create events with the PSP kernel functions? I'm trying to make a graphical menu library. When buttons and check boxes are pressed an event should be called. Data for the buttons and check boxes are stored as objects. I want to be able to create objects from my library and give them functions for any data_type, to be used as event handlers.
Since creating events is very complex in c++, are there any functions I can use from the psp libraries to make event handling much easier?