Bug#928046: dosbox: input issues under Wayland (some keys not behaving)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#928046: dosbox: input issues under Wayland (some keys not behaving)

Jonathan Dowland
Package: dosbox
Version: 0.74-2-3
Severity: normal

Under GNOME/Wayland, when I launch DOOM2.EXE under DOSBOX, the arrow keys are
not recognised. Other keys are (ESC in particular works) and I can type
alphanumeric keys w/o error. DOOM relies upon raw keyboard input from DOS.

Logging into GNOME/Xorg and the problem goes away.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dosbox depends on:
ii  libasound2       1.1.8-1
ii  libc6            2.28-8
ii  libgcc1          1:8.3.0-6
ii  libgl1           1.1.0-1
ii  libpng16-16      1.6.36-5
ii  libsdl-net1.2    1.2.8-6
ii  libsdl-sound1.2  1.0.3-9
ii  libsdl1.2debian  1.2.15+dfsg2-4
ii  libstdc++6       8.3.0-6
ii  libx11-6         2:1.6.7-1
ii  zlib1g           1:1.2.11.dfsg-1

dosbox recommends no packages.

dosbox suggests no packages.

-- no debconf information

dosbox-0.74-2.conf (10K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#928046: dosbox: input issues under Wayland (some keys not behaving)

Stephen Kitt-3
Hi Jonathan,

On Fri, 26 Apr 2019 20:05:34 +0100, Jonathan Dowland <[hidden email]> wrote:
> Under GNOME/Wayland, when I launch DOOM2.EXE under DOSBOX, the arrow keys
> are not recognised. Other keys are (ESC in particular works) and I can type
> alphanumeric keys w/o error. DOOM relies upon raw keyboard input from DOS.
>
> Logging into GNOME/Xorg and the problem goes away.

Thanks for the bug report. Does setting

        usescancodes=false

in dosbox-0.74-2.conf help?

Regards,

Stephen

attachment0 (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#928046: dosbox: input issues under Wayland (some keys not behaving)

Niels Thykier
On Fri, 26 Apr 2019 23:14:59 +0200 Stephen Kitt <[hidden email]> wrote:

> Hi Jonathan,
>
> On Fri, 26 Apr 2019 20:05:34 +0100, Jonathan Dowland <[hidden email]> wrote:
> > Under GNOME/Wayland, when I launch DOOM2.EXE under DOSBOX, the arrow keys
> > are not recognised. Other keys are (ESC in particular works) and I can type
> > alphanumeric keys w/o error. DOOM relies upon raw keyboard input from DOS.
> >
> > Logging into GNOME/Xorg and the problem goes away.
>
> Thanks for the bug report. Does setting
>
> usescancodes=false
>
> in dosbox-0.74-2.conf help?
>
> Regards,
>
> Stephen

Hi Jonathan,

Have you tried Stephen's suggestion of setting "usescancodes" and see if
that fixes the issue?

Thanks,
~Niels

Reply | Threaded
Open this post in threaded view
|

Bug#928046: ~ Re: Bug#928046: dosbox: input issues under Wayland (some keys not behaving)

Jonathan Dowland
Hi all

On Sat, May 11, 2019 at 11:36:00AM +0000, Niels Thykier wrote:
>Have you tried Stephen's suggestion of setting "usescancodes" and see if
>that fixes the issue?

I hadn't, until now, but I can now confirm that this does resolve the issue.


Thanks,

--

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Jonathan Dowland
⢿⡄⠘⠷⠚⠋⠀ https://jmtd.net
⠈⠳⣄⠀⠀⠀⠀