Hi,
On 05/07/2013 04:27 PM, [email protected] 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/
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Genode-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/genode-main