[webkit-dev] Where to handle the stick event?

Zalan.Bujtas at nokia.com Zalan.Bujtas at nokia.com
Wed Jun 6 05:41:15 PDT 2007


In
http://trac.webkit.org/projects/webkit/browser/S60/trunk/WebKit/BrowserV
iew/src/KeyEventHandler.cpp ,
 CKeyEventHandler::HandleOfferKeyEventL() function manages the key
(including the joystick) events. The joystick events get translated to
mouse events in CKeyEventHandler::HandleArrowKeysL() ->
CKeyEventHandler::NavigateWithCursor(). You should also take a look at
the CWebKitCursor::MoveCursorAdjusted() function, where the new mouse
position is calculated and the actual mouse move event is sent to the
webcore through the bridge.

Zalan.

________________________________

From: webkit-dev-bounces at lists.webkit.org
[mailto:webkit-dev-bounces at lists.webkit.org] On Behalf Of ext Jin, Yihua
Sent: Wednesday, June 06, 2007 6:50 AM
To: webkit-dev
Cc: shaoliang_1983
Subject: [webkit-dev] Where to handle the stick event?


 
 
Hi all:
    What is the event handler in S60 webkit that handle the stick event
which use to drive the mouse?
Thanks.
 
Best Regards, Yihua



More information about the webkit-dev mailing list