On Mon, 19 Sep 2011 08:18:11 +0000 (GMT) EunMi Lee <eunmi15....@samsung.com>
said:

thanks eunmi!

i've put it in svn, BUT with some changes. i've changes some
Evas_Event_Touch_Type and Evas_Touch_Point_State enum names because they were
not really consistent, CANCEL and CANCELLED, PRESSED, RELEASED (rest of evas
uses DOWN/UP) docs were wrong too there. MOVE vs MOVED, and START normally
comes with STOP, or BEGIN comes along with END.

> Dear Enlightenment developers,
> 
> Nice to meet you.
> I'm Eunmi Lee, developing mobile web browser and working on WebKit EFL port.
> I need new type of event for touch, so I've made patch to add
> EVAS_CALLBACK_TOUCH event to the evas.
> 
> I will explain history of this patch.
> Currently, many web applications and sites use TouchEvent and they can do
> everything(scrolling, zooming and so on) like native application using
> TouchEvent. So, I'm also want to provide TouchEvent for web in the WebKit EFL
> port, but I got a problem during making TouchEvent because EFL's touch
> event's structure (Mouse, Multi Event) is different from Web TouchEvent's one.
> 
> Let me explain about Web TouchEvent firstly.
> Web TouchEvent is consist of type and touch points list simply.
> There are 3 kinds of type.
> TouchStart: Happens every time a finger is placed on the screen.
> TouchEnd: Happens every time a finger is removed from the screen.
> TouchMove: Happens as a finger already placed on the screen is moved across
> the screen. for example, we can make (1 finger starts to touch), (2 fingers
> are moving), (1 finger is released duirng 3 fingers are moving) and so on.
> You can see the detailed information in the following url:
> http://www.sitepen.com/blog/2008/07/10/touching-and-gesturing-on-the-iphone
> 
> However, EFL's touch event is consist of six kinds of type : MOUSE_DOWN,
> MOUSE_UP, MOUSE_MOVE, MULTI_DOWN, MULTI_UP, MULTI_MOVE. So, I have to make a
> converter to make web touch event from EFL's touch event. You can reference
> attatched image file : evas_touch_event.png.
> 
> To tell the truth, converting code is not a big one.
> But, I want to reduce this additional job and make code simple.
> In the WebKit QT port, they don't have to make converting code for TouchEvent,
> because they have QTouchEvent, it has type and touchPoints list and they can
> be mapped to Web TouchEvent one by one. I think iPhone and Android also have
> such kind of event.
> 
> That's all why I want to add new touch event type to the evas.
> 
> about my patch:
> - EVAS_CALLBACK_TOUCH event is added
> - touch_points Eina_List is added to the Evas structure to maintain current
> touch lists.
> - process MOUSE/MULTI UP, DOWN, MOVE to make TOUCH event.
> 
> It is my first time to modify eves codes and actually I don't know too much
> about evas. So, I will be grateful if you send any feedback and comments.
> 
> Best Regards,
> Eunmi Lee

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to