genode/repos/os/src/server/input_merger
Ehmry - a7a0d3fe63 Refactor Tup, flatten output directories
Make no attempt to replicate the depot layout.
2019-10-28 11:32:29 +01:00
..
README init: apply routing to environment sessions 2017-01-31 12:01:11 +01:00
Tupfile Refactor Tup, flatten output directories 2019-10-28 11:32:29 +01:00
main.cc os: avoid using deprecated APIs 2019-01-30 13:49:54 +01:00
target.mk transition Input infrastructure to new base API 2016-10-21 12:39:29 +02:00

README

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" label="ps2">
			<child name="ps2_drv"/> </service>
		<service name="Input" label="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.