356
edits
Changes
no edit summary
= Events' Library Functions =
The library functions for events management are:
* <code>#define BASE_EVENT(%1) Event:%1[.opcode, .p0, .p1, .p2, .p3]</code> is a macro to help in creating an event container
* <code>SysEvEnable()</code> enable the system to post events into the queue
* <code>SysEvDisable()</code> disable the system to post events into the queue
* <code>EventGet( BASE_EVENT(ev) )</code> get an event from the queue, if an event is not available will wait for
* <code>EventSend( BASE_EVENT(ev) )</code> send an event to the queue, can be used to inject custom and/or simulated events
= Processing Events =