alinebee / Boxer

The DOS game emulator that's fit for your Mac.
http://boxerapp.com/
770 stars 139 forks source link

Feature request: Ability to move numeric keypad's position #42

Closed jbasay closed 9 years ago

jbasay commented 10 years ago

Hello,

First of all, thanks for an amazing piece of software. I really like what you did with the simulated numeric keypad, but I'd like to be able to remap the 789 / UIO / JKL keys to QWE / ASD / ZXC instead, as I'm used to using the WASD keys for playing games.

Is there any chance you could implement this? Or any way I could modify a special config file to achieve this result?

Thanks.

alinebee commented 9 years ago

I'm afraid that the layout of the simulated keyboard is hard-coded, not read from a config file or anything; a proper solution for this will have to wait until Boxer has a full-fledged key remapper.

If you are comfortable with Objective C though, you could change these mappings in the source code and build your own copy of Boxer. (For this I recommend using the "leopard_legacy" branch, as several features are currently broken on the "master" branch.) The relevant code is located in BXInputController+KeyboardInput.m at line 453.