![]() |
System Callbacks
Hi,
* I need to be able to handle the power button in my game. How can I handle that and other System events? I'm using XWindows with OpenGLES 2.0. * I tried using SDL with OpenGLES but it wouldn't initialize so I assumed SDL support for OpenGLES was not complete yet (?) * I haven't used Hildon because i couldn't find any tutorial about using Hildon with OpenGLES. I appreciate any references / pointers to the above. Thanks |
Re: System Callbacks
Does anyone have any suggestions?
|
Re: System Callbacks
Ideally you should cleanly handle the power button and activation of the task switcher (Ctrl+Backspace). How to do this from SDL, I'm not sure. I assume some of the other games like SuperTux are SDL based and do these things properly. You could
As for hildon/SDL, I know for a while there was a game wrapper that had a hildon launcher for SDL(?) games. I think some of the builtin games use i(?). You could do similarly for a mixed SDL/Hildon experience. I know, don't I sound so definitive ;) |
All times are GMT. The time now is 07:57. |
vBulletin® Version 3.8.8