The Queue of Events
From Hydrover
Introduction
The queue of events is the queue where the system send events such as: input change, user action, encoder or transducer match, and from where the user's program get events to process and react to.
Structure of an Event
An event is defined in the library as an array of values:
[.opcode, .p0, .p1, .p2, .p3]
where:
-
.opcode
is used to uniquely identify the event -
.p0, .p1, .p2, .p3
contains informations specific to that event