Maemo5 support.

These are blocking compiling: joy, egl, PFNGLDISCARDFRAMEBUFFEREXTPROC
escape VS backspace is about using menus.