0ed68a56b7
This patch changes both the Input::Session interface and the skeleton for the server-side implementation of this interface ('input/component.h'). The Input::Session interface offers a new 'sigh' function, which can be called be the client to register a signal handler. The signal handler gets notified on the arrival of new input. This alleviates the need to poll for input events at the client side. The server-side skeleton for implementing input services underwent a redesign to make it more modular and robust. I.e., there are no global functions needed at the server side and the event-queue enable/disable mechanism is implemented at a central place (in the root component) rather than inside each driver. Fixes #46 |
||
---|---|---|
.. | ||
child.h | ||
input.h | ||
main.cc | ||
nitpicker.h | ||
ram_session_client_guard.h | ||
README | ||
rom.h | ||
target.mk |
This directory contains a loader service, which allows for the instantiation of subsystems via a session interface. The resources for the new subsystem are provided by the client when opening the session. The client has no control over the functioning of the subsystem except for the controlling the lifetime of the subsystem.