8

Are there any mod which can replace left/right click button for various action, I need this because I am a person suffered from a rsi injury of my right index finger and I hate clicking but yet I would like to play Morrowind happily. Thanks.

EDIT: What benefit me most is a function to replace left click with a key on keyboard, for example, when you are talking to some guy and there is some dialog and choices you can do such as Barter, latest rumors, etc. Is there any possible to do it like when I move my cursor to the particular choice and press a key such as spacebar and the corresponding choice will be made. I just hate clicking.

2
  • 1
    Can you be more specific about your needs? I'm not sure what you mean by "replace left/right click button for various action". :-)
    – Ben Blank
    Jan 15, 2012 at 10:41
  • Can't you use Windows' tools like MouseKeys?
    – JohnoBoy
    Jan 15, 2012 at 12:03

2 Answers 2

4

You might check and see if you can't just rebind the key in the options menu. Many games support both keyboard and mouse input, and I seem to remember that you can rebind most actions from mouse buttons to keys, although selecting dialog options (and the like) might be always mapped to the mouse.

If the game makes you use the mouse, AutoHotKey is my go-to solution for these problems. It's free, and it downloads and installs quickly, and it works with games in many cases.

In this case, you might be able to get away with:

a::LButton
b::RButton

which would map your a key to send the left mouse button, and your b key to send the right mouse button. You can replace 'a' and 'b' with whatever keys you want. Some keyboard keys have special names in AHK; there's a list of all the keys here.

Open a Notepad window, and copy and paste this line into the blank Notepad document. Save it as "mousebuttonremap.ahk" (including the quotes) and then you can double click to load it. There will be a little "A" icon in your tray that you can right click to quit the script, when you need your keys back.

Sometimes this method doesn't work with games, in which case you may want to try:

a::
SendPlay {LButton}
return
b::
SendPlay {RButton}
return

If this still doesn't work, you may have to tweak the script a bit more to work with the specific game you're trying to play. There's a FAQ entry about issues with games that might help in this case.


Update: According to other users on the AHK forums, SendEvent works best, and you may need to edit Morrowind.ini to set "Background Keyboard=1" for this to work properly.

4
  • +1. While my answer suggested AutoHoyKey, your answer covered the setting process as well
    – JohnoBoy
    Jan 15, 2012 at 15:02
  • I added a line "Numpad5::SendPlay {LButton}" and it works like a charm in windows, but failed in Morrowind. I should try the FAQ. Jan 16, 2012 at 15:51
  • Turns out "Numpad5::Click" will do. Thanks! Jan 16, 2012 at 16:02
  • @gunbuster363, you might check this thread on the AHK forums. They modified the Morrowind.ini file and used SendEvent.
    – agent86
    Jan 16, 2012 at 16:04
4

This is a general solution, not involving a mod for Morrowind.

You can try using MouseKeys, an accessibly tool for Windows. You can turn it on through Control Panel -> Accessibility Options, under the Mouse tab.

When turned on, the 5 button on your numpad acts as the left mouse button.

Another alternative is using a 3rd party tool called AutoHotKey, which allows you to re-map keyboard and map keys on your keyboard.

2
  • 1
    It somehow doesn't work in Morrowind, although it works in windows. Jan 15, 2012 at 13:42
  • Added another alternative, try it and tell me if it helps
    – JohnoBoy
    Jan 15, 2012 at 13:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .