mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-04 04:54:12 +00:00
71f0757a30
* Supply Env to Input::Session_component * Attach input event dataspace at Input::Client * Process input events by lambda rather than pointer * Supply Env and a label to Input::Connection * Wm serves valid input_session to decorator * Per-source signal handling at input_merger * Base API update for dummy_input_drv, test_input * Input API update for launcher, menu_view, terminal, mupdf, sdl, seoul, virtualbox Ref #1987 |
||
---|---|---|
.. | ||
main.cc | ||
README | ||
target.mk |
This component merges the input events of multiple sources. Example configuration: <start name="input_merger"> <resource name="RAM" quantum="1M" /> <provides> <service name="Input" /> </provides> <config> <input label="ps2" /> <input label="usb_hid" /> </config> <route> <service name="Input"> <if-arg key="label" value="ps2" /> <child name="ps2_drv" /> </service> <service name="Input"> <if-arg key="label" value="usb_hid" /> <child name="usb_drv" /> </service> <any-service> <parent /> <any-child /> </any-service> </route> </start> For each 'input' config node, the component opens an 'Input' session with the configured label. This label is then evaluated by 'init' to route the session request to a specific input source component.