[webkit-dev] Focus moving in webkit
marco.barisione at collabora.co.uk
Tue Oct 28 05:54:29 PDT 2008
On Tue, 2008-10-28 at 20:34 +0800, xfdbse wrote:
> I need to be able to use Up, Down, Left and Rigth key to move.
> Now i can simulation Left or Right key to a (shift+)TAB key, and the
> foucs also can be moved, but that not my want.
I had similar problems for the device I was working on, for just using alternative keys for already provided features you can just modify the keyboard event, it's hackish but works well.
See key_event_cb in http://git.collabora.co.uk/?p=user/bari/webkit-demo.git;a=blob;f=src/webkit-demo.c;h=b2ac77b51605e0b5c72fc446d59c8b74392b5432;hb=HEAD
> as you know , when use TAB key to move focus , the foucs chain looks
> like a "double Linked List" .
> I need the focus can be moved to the any of four directions via Up or
> Down or Left or Right key
> [although i know the Up or Down key used to scroll default].
I implemented it but it's unfinished see
More information about the webkit-dev