Hi David, handling control keys leads to unpredictable results.
I know that for a fact because I've encoded the Colemak layout for FreeDOS, where <CapsLock> must also work as <Backspace>. When I encoded that, it worked fine under a VirtualBox' virtual machine but not under DOSBox. The keyboard behaved erractically. Let me tell you, by the way, the dealing with keyboard layouts under DOSBox is a lousy thing to do. It handles, at most, 101 or 102-key regular keyboard layouts. Brazilian keyboards, for instance, have 104 keys and I simply can't handle the extra 2 keys (I'm not talking about those <Left_Win>, <Right_Win> and <Apps> keys; if I count them, I must tell you that brazilian keyboards have 107 keys). I can't even imagine how DOSBox deals with CJK (Chinese, Japanese, Korean) keyboards. I've quit trying to complain about that. Plain and simple, my conclusion is that DOSBox is really nice to play old DOS games. Period. (Due to practice on working with keyboard layouts encoding, I know the US keyboard layout by heart and that's how I use my brazilian keyboard under DOSBox.) If you plan on using it for anything else, I wish you good luck on dealing with codepages, keyboard layouts and keyboard behaviour. So, all I can tell you -- if you really need or want that, you can either try dealing with the source code for your keyboard layout or try the solution suggested by Ruĝulo or yet try anything else. Henrique Em 07/12/2011 02:37, David Griffith escreveu: > Does anyone here know how I can change caps lock into another control key? > Would it work for DOSBOX as well? > ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user