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.

Comments

  • i am trying to help you but i can't get the keyboard type aka the < by the left shift all be it i am using a us keyboard but one other thing you could try if binding ingame fails try editing the key bindings for said game in windows. like for me the cfg files are located in C:\Users\...\Documents\Doomsday Frontend\runtime hope thins helps
  • I understand that you are using a different key layout but it shouldn't really matter what label is shown in the configuration screen. The strafe control should still end up bound to whatever physical key you pressed. Is this not the case?
  • DaniJ wrote:
    I understand that you are using a different key layout but it shouldn't really matter what label is shown in the configuration screen. The strafe control should still end up bound to whatever physical key you pressed. Is this not the case?

    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.
  • Which OS are you running and what model keyboard?
  • Windows 7, I have tried running Doomsday in XP SP2 compatibility mode but I get the same problem.

    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.
  • I just tried gzdoom and it accepts my keybinding fine. However it identifies the < button as "oem102" in the control options menu. Perhaps that can be of any help?
  • Doomsday still uses DirectInput for keyboard input on Windows and that is the reason why you're finding the mappings incorrect. When doing keyboard input this way it is necessary for the application to manage locale key mappings itself, which previous versions of Doomsday implemented by allowing the user to load a *.dkm keymap file which the use could customise for their locale.

    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).
  • I see, thanks for the reply. You mentioned that older versions of Doomsday allowed users to import custom keymaps. Perhaps I can download an older version of DE and use it that way? What version would you recommend?
  • Version 1.8.6 is the current "stable" release. With that version you can load custom *.dkm key mapping files using the keymap console command. For example, you can load the German key map using the following console command (note that you can add this to the command line so you don't have to load this manually each time you start the engine):
    keymap de.dkm
    
    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
  • Thank you very much for your help kind sir.
Sign In or Register to comment.