Keyboard issues in Dosbox

This topic contains 2 replies, has 2 voices, and was last updated by  Swampy 2 years, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #89660



    I am using a Raspi 2B with the latest RetroPie SD card image. I got pretty much everything to working so far, but I have one big issue with Dosbox: The keyboard (even in the initial DOS prompt) only works somewhat:
    – No matter whether I set the English or German keyboard layout (keyb gr), “z” is always in the bottom left and “y” in the upper middle (i.e. US layout)
    – Special keys öäü and the “?ß\” key don’t work – which is particularly bad because I can’t do a backslash.
    – No matter the keyboard layout in Dosbox, the characters above the numbers are always from the German layout.

    My Linux is configured to using the German keyboard layout (with raspi-config), which works fine everywhere else. I’ve attached my /home/pi/.dosbox/dosbox-SVN.conf

    Does anybody else have a similar problem or have an idea how to fix this?




    So as it turns out, Dosbox seems to be confused by a German keyboard layout on the Raspberry Pi. So the way to “fix” this issue is to set the keyboard layout to US English in raspi-config. Then “keyb gr” in Dosbox correctly sets the German keyboard layout within Dosbox and all keys work.

    Does anybody have an idea why this is?



    You have to edit the dosbox-SVN.conf! Set usescancodes=true to usescancodes=false. You might also change keyboardlayout=auto to keyboardlayout=gr too.

Viewing 3 posts - 1 through 3 (of 3 total)

Forums are currently read only - please visit the new RetroPie forums at

PLEASE NOTE: All orders that are placed between January 14th and January 28th will be shipped on January 29th. Dismiss