Forum Discussion

Rumbler1138's avatar
10 years ago

how do I remap the keyboard keys?

Hello.  In previous years of playing DA 2 I have ALWAYS been able to remap all of the Default Keyboard and Mouse keys.  But today I find that I can remap all of them except the Default "Attack" key that is tied to 'R'.  I would like to do as I have always done in the past and that is to use the Mouse Keys (Left and Right).  For some reason I am completely unable to do this...But the mouse keys do work for interacting with all other Menu options...so clearly the Mouse keys do function.  I just can't get them to work for the in-game function of "Attack" as I have done in the past.

Is there a fix for this?  Am I missing something?

Any help would be appreciated.

4 Replies

  • EA_David's avatar
    EA_David
    Icon for Community Admin rankCommunity Admin
    10 years ago

    @Rumbler1138 Hey, can you think of any changes (maybe an OS update) that might have been made since this worked for you?
    Can you go to My Documents\BioWare\Dragon Age 2\Settings and delete the KeyBindings.ini file (after making a backup)?

    Once this is deleted try to set the keys again and see if it'll work.

    If the issue persists, try plugging out any extra peripherals, perhaps something is being detected as a gamepad and that's causing a conflict?

    Thanks.

  • Hello and good morning, "EA DAVID".  Thank you for your quick reply and your advice.  To answer your question....In the years past I have played all my games on Windows 7 Professional (64-bit) but I have been using Windows 10 Professional (64-bit) since its release and to my recollection I do not remember having any problems with any of my games from EA/Bioware.

    I will attempt to do as you suggest and back-up then edit the KeyBindings.ini file.  I will also try to disconnect and reconnect my Mouse. (Aside from my Keyboard I do not have any other Peripherals (ie a gamepad) plugged in.  I can't think of anything in the 'basic essentials' (mouse, keyboard, speakers, monitor) that would be causing this kind of conflict, because the Mouse and Keyboard function properly in all other respects.  But I will certainly try what you have suggested and see where that leads.

    Thank you again for your assistance.

  • EA_David's avatar
    EA_David
    Icon for Community Admin rankCommunity Admin
    10 years ago

    Thanks for the info, let us know how you get on.

    The mouse shouldn't be a factor, we just like to check for any other USB devices other than KB and mouse just in case they're erroneously detected as gaming devices.

  • There's a way (too radical prolly) to use your left mouse button to attack, instead of the R key

    ... using a script.

    to do so:

    1. create a text file (anywhere)

    copy and paste the text code below:

    r::LButton
    LButton::r
    ; Shift + Escape Kill Switch
    +Escape::ExitApp

    2. save it and change extension to .ahk

    3. download and install "autohotkey" software: https://www.autohotkey.com/

    4. run the script (just double click that text code file you've saved, after installing "autohotkey" it'd be automatically associated with .ahk files) whenever you wanna play the Dragon Age 2

        :ealight_bulk: this script will temporarily swap the "left mouse button" and the "r" keyboard key

    5. to stop the script, (when u wanna get it all back to normal) press and hold SHIFT then ESC (before you do so, your "r" key will act as the left mouse key) 🙂