VOGONS

Common searches


First post, by Lomaxx

User metadata
Rank Newbie
Rank
Newbie

I would like to create a keyboard-layout for dosbox running on the OpenPandora-handheld (http://www.open-pandora.org/), which runs an ARM-Linux. The layout looks like this: http://pandorawiki.org/File:Pandkey.png
As you can see on that URL, there are several characters, which have to be typed by using a different key-combination than on a normal PC-keyboard. For example the exclamation-mark should appear when pressing Fn+t and not by pressing shift+1.

I tried to find information on how to create such a keyboard-map myself, but I got stuck somewhere on the way. As far as I understood I have to set a keymap like described here: http://www.dosbox.com/DOSBoxManual.html#KeyboardLayout, after either implementing my own layout into the dosbox-source-code or by using the keyb.exe-command after setting up one of the mentioned external files. I just didn't find instructions how to achieve this. Did I get it right that I don't need a new codepage (as i do not want to add new symbols), but just need a new layout-file? Could someone help me with a rather detailed instructions? I'm not much into coding or software-hacking, but fiddled around with Linux-OSes for several years by now.

Reply 1 of 4, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

DOSBox uses the interface specified by the freedos keyb.exe so you may want to check out their
pages and the documentation around their keyb tool and the .kl (source layouts) files.

Reply 2 of 4, by Lomaxx

User metadata
Rank Newbie
Rank
Newbie

Thanks for your answer.

I looked there and read the ./HELP/KC-textfile that comes with the kc-zip-archive. There KEY-keyboard-programming language is mentioned. After another search I found this thread: http://www.linuxquestions.org/questions/gener … ramming-799169/
But to be honest - even after downloading and reading the full documentation, I must admit that this is all beyond my scope. I understand some parts of it, but not enough to start modifying and compiling.

Well I search some more. Maybe I find some newbie-friendly hints somewhere.

Last edited by Lomaxx on 2011-07-29, 19:15. Edited 1 time in total.

Reply 3 of 4, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I've had another look at the layout of the openpandora you posted, and that won't work with layouts anyways.
You best contact the people who ported dosbox to that system, usually they are active on some specialized forum.