Re: [E-devel] Handling hardware keys on maemo with EFL

2008-05-12 Thread Gustavo Sverzut Barbieri
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

Re: [E-devel] Handling hardware keys on maemo with EFL

2008-05-12 Thread Ben Martin
On Mon, 2008-05-12 at 13:08 -0300, Gustavo Sverzut Barbieri wrote: On Sun, May 11, 2008 at 5:05 AM, Ben Martin [EMAIL PROTECTED] wrote: Hi, Evas_Modifier_Mask mask = 0; evas_object_key_grab(edje, F6, mask, ~mask, 0); evas_object_event_callback_add(

[E-devel] Handling hardware keys on maemo with EFL

2008-05-11 Thread Ben Martin
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