... | ... | @@ -19,7 +19,7 @@ what is going on, so they have a chance to respond appropriately. An |
|
|
example of action that results in event reception is a button press or
|
|
|
sensor interrupt. Afterwards, you may decide to redraw a part of user
|
|
|
interface, update internal state or save data - depending on what has
|
|
|
happened. Available event types are listed in.
|
|
|
happened. Available event types are listed in sw/common/event.h.
|
|
|
Events are transferred from the operating system to applications via
|
|
|
queue. Typically, there is one main event loop that receives them and
|
|
|
lets you decide what should happen next. The event loop also allows you
|
... | ... | |