On Sun, May 11, 2008 at 5:05 AM, Ben Martin <[EMAIL PROTECTED]> wrote: > 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 ); >
This have nothing to do with EFL, Maemo have these mapped like this and the keys are documented in their website. They provide it like that and we just keep. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: [EMAIL PROTECTED] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------- 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 enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel