Forums

Forums (http://www.abandonia.com/vbullet/index.php)
-   Troubleshooting (http://www.abandonia.com/vbullet/forumdisplay.php?f=11)
-   -   DosBox 0.72, Ubuntu 9.04, arrow keys (http://www.abandonia.com/vbullet/showthread.php?t=20271)

guest 22-06-2009 12:39 PM

DosBox 0.72, Ubuntu 9.04, arrow keys
 
I just downloaded and installed the newest version of DosBox available for my version of Ubuntu, and it has a pretty major problem: It can't seem to recognize the arrow keys on my keyboard.

In the keymapper, the events for up, right, down and left are labeled jhat_0_0_0, jhat_0_0_1, jhat_0_0_2 and jhat_0_0_3. Trying to manually bind my arrow buttons to these events doesn't work, as my up button is seen as the print screen button, my left button as the right alt button and right and down are labeled "Key unknown key".

dosraider 22-06-2009 12:42 PM

That is NOT a dosbox issue, but an Ubuntu driver problem, Ubu screwed up here.
Ask help on the Ubu forums or Vogons.

http://vogons.zetafleet.com/viewtopic.php?t=21984

guest 22-06-2009 05:07 PM

Thanks, I guess I'll keep looking in that direction.

Japo 22-06-2009 08:26 PM

That latest version is 0.73? Because they said they'd fix by now.

http://dosbox.com/news.php?show_news=1
Quote:

If you are running DOSBox on Ubuntu 8.10 (or some other distro that uses the evdev driver in X) you will notice that some keys don't work, most noticiable the arrow keys.

This is because Ubuntu changed something related to the scancodes, we are working on it, but as none of us runs Ubuntu 8.10 it is not top priority. If you have an English/American keyboard layout then (and only then!) you can use the following workaround. Open a console and enter the following command:
echo -e "[sdl]\nusescancodes=false\n" >>~/.dosboxrc
We will have it fixed in the next version though.

rabadi 23-06-2009 12:57 AM

wtf IS dos bOX AND DOES IT WORK ON uBUNtu??? :laugh:

Get the .deb package here: http://www.getdeb.net/app/Dosbox


The current time is 12:30 PM (GMT)

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.