Bug#464939: libsdl1.2debian: azerty keyboard layout unusable in sdl apps

Nicolas Caval nicolas.caval at wanadoo.fr
Sat Feb 9 23:28:19 UTC 2008


Package: libsdl1.2debian
Version: 1.2.13-2
Severity: normal

in a qwerty keyboard, there is no need for a modifier key to access the
numbers
in the number row,
but in a azerty keyboard, symbols are acceded without a modifier key and
shift must be
used to access the numbers. but SDL report event about the symbols,
breaking many apps.

for example, hitting the '1' key produce this output in checkkeys :

- without a modifier
Key pressed:  38-&  (&) modifiers: NUM
Key released:  38-&  modifiers: NUM
- with shift
Key pressed:  304-left shift  modifiers: LSHIFT NUM
Key pressed:  38-&  (1) modifiers: LSHIFT NUM
Key released:  38-&  modifiers: LSHIFT NUM
Key released:  304-left shift  modifiers: NUM

so any apps checking for SDLK_1 will break; it's impossible to
produce this event. this breaks many games.

the workaround is to change to a qwerty layout, but then you ends up
being confused zith the key,qp

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24batchyx8.3 (PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libsdl1.2debian depends on:
ii  libsdl1.2debian-alsa          1.2.13-2   Simple DirectMedia Layer (with X11

libsdl1.2debian recommends no packages.

-- no debconf information






More information about the Pkg-sdl-maintainers mailing list