Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Using cursor keys for movement

Using cursor keys for movement

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Nullobject   USA  (3 posts)  Bio
Date Sun 12 Apr 2009 06:58 PM (UTC)
Message
Hey all,

Really liking MUSH, however I am using a laptop that does not have a numeric keypad. Hence I would like to use the cursor keys for my 'N,S,E, & W' movement.

When I go into the input 'Key mapping' properties I don't see where I can do this.

Might anyone have some insight into how to use my cursor 'arrows' to accomplish this?

Any help would be greatly appreciated.

Thanks.
Top

Posted by Twisol   USA  (2,257 posts)  Bio
Date Reply #1 on Sun 12 Apr 2009 07:03 PM (UTC)
Message
Looks like you can use the Accelerator() scripting function. I tried it myself, and you can't really just use the arrow keys on their own, but you can easily use alt+<direction> instead. Put this into your scripting file, for example:


Accelerator("Alt+Up", "n")
Accelerator("Alt+Down", "s")
Accelerator("Alt+Left", "w")
Accelerator("Alt+Right", "e")


'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #2 on Sun 12 Apr 2009 11:00 PM (UTC)
Message
Correct. Go to Input menu -> Key Name and start pressing keys to find the "official" name for a keystroke.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


13,129 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.