Since the upgrade to SDL2 I am unable to use alphabetic keys in the client. Other keys seem to work, and I can type text just fine if I pull down the console.
I use current ioquake3 git on 64-bit Arch Linux with all features enabled and USE_INTERNAL_LIBS=0. My library versions are:
core/curl 7.37.1-1
extra/freetype2 2.5.3-2
extra/libjpeg-turbo 1.3.1-1
extra/libvorbis 1.3.4-1
extra/openal 1.16.0-1
extra/opus 1.1-1
community/opusfile 0.5-1
extra/sdl2 2.0.3-1
extra/speex 1.2rc1-4
core/zlib 1.2.8-3
I think that with SDL1 it was also somewhat weird. The alphabetic keys often registered as WORLD_NN instead of the usual q, w, r, ...
There is nothing suspicious in the console log. About SDL it only says
SDL using driver "x11"
I suppose this looks like an SDL bug, but how does typing in the console work then?
With the help of #ioquake3 at FreeNode I narrowed it down to this:
If only some Latin keyboard layout is present, then the game works. If a Cyrillic keyboard layout is also present (but not activated), then it doesn't work anymore even with the Latin layout. Test it with
setxkbmap -layout 'us'
and
setxkbmap -layout 'us,ru'
So this is probably an SDL bug.
Since the upgrade to SDL2 I am unable to use alphabetic keys in the client. Other keys seem to work, and I can type text just fine if I pull down the console. I use current ioquake3 git on 64-bit Arch Linux with all features enabled and USE_INTERNAL_LIBS=0. My library versions are: core/curl 7.37.1-1 extra/freetype2 2.5.3-2 extra/libjpeg-turbo 1.3.1-1 extra/libvorbis 1.3.4-1 extra/openal 1.16.0-1 extra/opus 1.1-1 community/opusfile 0.5-1 extra/sdl2 2.0.3-1 extra/speex 1.2rc1-4 core/zlib 1.2.8-3 I think that with SDL1 it was also somewhat weird. The alphabetic keys often registered as WORLD_NN instead of the usual q, w, r, ... There is nothing suspicious in the console log. About SDL it only says SDL using driver "x11" I suppose this looks like an SDL bug, but how does typing in the console work then?With the help of #ioquake3 at FreeNode I narrowed it down to this: If only some Latin keyboard layout is present, then the game works. If a Cyrillic keyboard layout is also present (but not activated), then it doesn't work anymore even with the Latin layout. Test it with setxkbmap -layout 'us' and setxkbmap -layout 'us,ru' So this is probably an SDL bug.