Hi,
   I notice that things like the fullscreen key on maemo are mapped to
F6 by default. Are folks developing for maemo with EFL just using xev to
work out the default key bindings and mapping key grabs for those events
to callbacks to handle them? 

This works but isn't exactly straightforward readability wise. I guess
the app could #define MAEMO_N810_FULLSCREEN_KEY to "F6" to make things
more legible unless there is already a preferred method to handle these
extra keys. 

 Evas_Modifier_Mask mask = 0;
 evas_object_key_grab(edje, "F6",
                      mask, ~mask, 0);
 evas_object_event_callback_add(
                      edje, EVAS_CALLBACK_KEY_DOWN,
                      _cb_key_down, ee );

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to