Re: Howto grab all Maemo5 zoom key events in SDL/SDL_gles app?

2010-05-12 Thread Eero Tamminen
Hi, Hamalainen Kimmo (Nokia-D/Helsinki) wrote: On Sun, 2010-05-02 at 13:26 +0200, ext Till Harbaum / Lists wrote: i'd like to access the zoom keys in a SDL/SDL_gles app (the 3d globe i uploaded to extras-devel). The odd thing is that my solution only partly works. Some key presses actually

Re: Howto grab all Maemo5 zoom key events in SDL/SDL_gles app?

2010-05-04 Thread Javier S. Pedro
Frantisek Dufka wrote: I am not sure why there are three X windows in info.info.x11 structure (fswindow, wmwindow and window). From brief look into SDL sources it seems to me like the 'window' is used when SDL is initialized with not owned pre-created window passed to SDL via SDL_WINDOWID

Re: Howto grab all Maemo5 zoom key events in SDL/SDL_gles app?

2010-05-04 Thread Kimmo Hämäläinen
On Tue, 2010-05-04 at 16:01 +0200, ext Javier S. Pedro wrote: Frantisek Dufka wrote: I am not sure why there are three X windows in info.info.x11 structure (fswindow, wmwindow and window). From brief look into SDL sources it seems to me like the 'window' is used when SDL is initialized

Re: Howto grab all Maemo5 zoom key events in SDL/SDL_gles app?

2010-05-03 Thread Frantisek Dufka
Till Harbaum / Lists wrote: Any idea why this still delivers some key events to the volume control? Maybe sometimes there is another window active which doesn't have the _HILDON_ZOOM_KEY_ATOM set? Something specific to GLES and/or double buffering? Does it work with simple SDL app without

Re: Howto grab all Maemo5 zoom key events in SDL/SDL_gles app?

2010-05-03 Thread Kimmo Hämäläinen
On Sun, 2010-05-02 at 13:26 +0200, ext Till Harbaum / Lists wrote: Hi, i'd like to access the zoom keys in a SDL/SDL_gles app (the 3d globe i uploaded to extras-devel). The odd thing is that my solution only partly works. Some key presses actually reach my app as function key presses, but