Doomsday engine refuse to let me strafe left
Gentlemen.
I am using your excellent engine with much glee and enthusiasm. However, when I go to controls and try to set my preferences it will not let me input the right key for strafing left. This is causing me great grief and agony.
What I wanna do:
Strafe left with < key.
What happens:
When I press < doom thinks I have pressed 9.
Possible factor:
I am using a swedish keyboard. For us the < key is located right beside the left shift key. I think american keyboard layouts have the < key somewhere to the right of M key, and requires a shift modifier.
Please help me and I shall be forever greatful.
I am using your excellent engine with much glee and enthusiasm. However, when I go to controls and try to set my preferences it will not let me input the right key for strafing left. This is causing me great grief and agony.
What I wanna do:
Strafe left with < key.
What happens:
When I press < doom thinks I have pressed 9.
Possible factor:
I am using a swedish keyboard. For us the < key is located right beside the left shift key. I think american keyboard layouts have the < key somewhere to the right of M key, and requires a shift modifier.
Please help me and I shall be forever greatful.
Comments
Correct, that is not the case. When I press < button it thinks I have pressed 9.
Gordon: I found the cfg file and edited so it is like this
bind -z "-strafer"
bind +z "+strafer"
bind -< "-strafel"
bind +< "+strafel"
It still does not work.
One interesting thing also is that when I press the < key when typing in the console, nothing happens. When I press it in the menus (where you define controls) it thinks I am pressing 9.
The Keyboard I am using is the Logitech K200 keyboard, http://www.logitech.com/en-gb/for-busin ... vices/7242 just a simple one that requires no drivers or fancy stuff It uses the native USB drivers.
though that image on the site shows an english layout, here is how the swedish version of that keyboard is laid out:
http://en.wikipedia.org/wiki/File:KB_Sweden.svg we press < for < and shift+< for >. I wanna strafe left with < and right with z.
These days this is completely unnecessary for keyboards on the Windows as the platform; you can use the regular Windows message loop to listen for input events and have the OS handle the system specific language and keyboard locales. Keyboard input on other platforms is currently handled through SDL which has it own issues.
The current plan is to drop use of DirectInput on Windows and SDL on the other platforms and re-implement keyboard input using Qt, however that is currently scheduled for Doomsday 1.9.8 at the earliest (see the roadmap).
If you open up doomsday/data/doomsday.pk3 in say WinZip, then extract a copy of the file data/keymaps/default.dkm to doomsday/data/keymaps/se.dkm (in your Doomsday install directory, you may need create this directory). Now you can edit this file to suite your keyboard layout and then load it with the command- keymap se.dkm