maemo-leste / bugtracker

Issue tracking repository
62 stars 3 forks source link

SDL2 games not getting keyboard input. #369

Closed clort81 closed 2 years ago

clort81 commented 4 years ago

Running hildon-desktop or openbox on droid4, I get no keyboard input running SDL2 apps, whether launched from terminal or ssh.

Package: libsdl2-2.0-0 Version: 2.0.9+dfsg1-1

If i'm overlooking something obvious then correcting me here might help others as well. :)

limingchina commented 4 years ago

Which SDL2 game/app have you tried. For me, the stock SDL2 doesn't work with a trivial example app. And it says "GLX is not supported". This seesm to be expected since this file contains "/etc/X11/xorg.conf.d/10-pvrsgx.conf" contains

Section "Module"
        Disable "fbdev"
        Disable "glx"
EndSection

I compiled the source 2.0.12 and disabled the VIDEO_OPENGL cmake option, and also set the SDL hint SDL_HINT_VIDEO_X11_FORCE_EGL to "1". Then it works for me.

IMbackK commented 2 years ago

this appears to be fixed in latest hildon