pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/53627: DOSBox keyboard does not work on console (wscons)
>Number: 53627
>Category: pkg
>Synopsis: DOSBox keyboard does not work on console (wscons)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 23 16:05:00 +0000 2018
>Originator: Anonymous
>Release: NetBSD 8.0
>Organization:
N/A
>Environment:
NetBSD ocean 8.0 NetBSD 8.0 (GENERIC) #0: Tue Jul 17 14:59:51 UTC 2018 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
Keyboard in DOSBox run on the console (wscons) does not work as a linux-specific patch in DOSBox shifts scancodes (due to Linux shifting them by 8 apparently)
>How-To-Repeat:
pkg_add dosbox
(sudo) dosbox (on the console, not in xterm)
keyboard input is garbled, eg. 'a' (scancode 30) output 'u' (scancode 22)
>Fix:
remove or bypass following code in dosbox-0.74/src/gui/sdl_mapper.cpp
#if !defined (WIN32) && !defined (MACOSX) && !defined(OS2)
/* Linux adds 8 to all scancodes */
else key-=8;
#endif
rebuild/reinstall
dosbox (on the console)
keyboard input works as intended
Home |
Main Index |
Thread Index |
Old Index