how to pass event to l4linux

Stefan Kalkowski stefan.kalkowski at ...1...
Wed May 8 11:47:25 CEST 2013


Hi,

On 05/07/2013 04:27 PM, gaober_bupt at ...176... wrote:
> Hi!
> i implement touch screen driver in os\src\input\ft5406,and can get the coordinate x, y,then i use:
> _ev_queue.add(Input::Event(Input::Event::MOTION, 0, _abs_x, _abs_y, 0, 0));
> _ev_queue.add(Input::Event(Input::Event::PRESS, Input::BTN_TOUCH, _abs_x, _abs_y, 0, 0));
> _ev_queue.add(Input::Event(Input::Event::RELEASE, Input::BTN_TOUCH, _abs_x, _abs_y, 0, 0));
> to add the event to the event queue.
> now the question is how can i pass the events to linux.

normally, you don't have to care about that. It should work out of the
box. The virtual input driver in L4Linux takes all input events it gets
as a client of either nit_fb, or the input driver itself. Which input
service L4Linux is using depends on your configuration, and the routing
you've set within it.

Regards
Stefan

> the bot modules are:
> set boot_modules {
>  core
>  init
>  timer
>  omap4_gpio_drv
>  omap4_i2c_drv
>  omap4_fb_drv
>  input_ft5406_drv
>  sd_card_drv
>  usb_drv
>  nic_bridge
>  nitpicker
>  nit_fb
>  part_blk
>  terminal
>  terminal_log
>  l4android
>  root-ginger.gz
> }
> thank you very much!!!

-- 
Stefan Kalkowski
Genode Labs

http://www.genode-labs.com/ ยท http://genode.org/




More information about the users mailing list