Generate from one event two new ones

For my master work, i need to implement a feedback system. The good thing is that what the programm do, does not need to interest, there are only 2 events where i must give the feedback when they occur.