On Jan 5, 2008 9:02 PM, Tobias <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I've played around with Ecore_Fb on my zaurus and I've run into some
> problems with events getting through to evas.
>
> First, there were some comments about libts support in ecore a couple of
> weeks ago, this libts implementation (ecore_fb_ts_c) seems to be very
> ipaq specific, and is not used anywhere and deprecated.

Hi Tobias,
As you said the tslib code is not building because the linux_input
subsystem can handle more input devices, but touchscreen devices
aren't full supported, to be able to receive ecore_fb events on evas -
edje you need to also modify ecore_evas.

>
> I've altered it and attach patches here to enable it again and only
> support the libts mouse events and remove all the ipaq
> backlightning,led,brightnes...etc stuff, I've also removed the
> calibration.
>
> Now ecore_event_handler_add(ECORE_FB_EVENT_MOUSE_*...) events works, but
> I can't get any evas_object_event_callbacks to work (subsequently edje
> files don't receive any mouse events either).

But where do you enable the tslib specific functions? when
ecore_fb_init is called you should also initialize the tslib
subsystem.

>
> I've tried evas_event_feed_mouse in an app but I can't get any more
> events than mouse_in and mouse_out fed to the evas_object. I'm not sure
> I grok  evas_event_feed*.

If you can receive ECORE_FB events on ecore_evas then there should not
be any problems, as the ecore_evas just wraps those events and feeds
them to evas, so you should see them. If you look on the
ecore_evas_fb_init code, the input devices (/dev/input/*) are sent to
the linux_input subsystem on ecore_fb and then the ecore_fb events are
received, you should do the same.

>
> Any hints to solve this would be very appreciated, I've looked at
> ecore_evas_fb.c but can't find anything wrong with it.
>
>
> /Cheers
> Tobias
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to