Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Kalie
Beginner


Joined: 23 Jun 2008
Posts: 22

PostPosted: Fri Jun 27, 2008 2:24 am   

History keys
 
How do you turn off the scrolling through commands with the arrows up/down in 2.29? I'd like to use my arrow keys for directions but the scroll up/down seems to take precedence for some reason. Is there a way to modify that default behavior?
Reply with quote
ralgith
Sorcerer


Joined: 13 Jan 2006
Posts: 715

PostPosted: Fri Jun 27, 2008 5:40 am   
 
Kalie wrote:
How do you turn off the scrolling through commands with the arrows up/down in 2.29? I'd like to use my arrow keys for directions but the scroll up/down seems to take precedence for some reason. Is there a way to modify that default behavior?


This is a CMUD question and as such needs to be asked in the CMUD public forum. [Yes I know I'm not a mod, but this one is obvious ;) ]

And I don't know the answer or I would have answered it too...
Reply with quote
Kalie
Beginner


Joined: 23 Jun 2008
Posts: 22

PostPosted: Fri Jun 27, 2008 6:20 am   
 
Sorry! I got here via google search and didn't realize it was the zmud forum.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri Jun 27, 2008 4:56 pm   
 
Sorry, but you can't. The arrow keys are tied to the command line. For example, the left/right arrow keys move the cursor back and forward through the letters on the command line, just like in any other normal Windows edit box. This is a windows function, so there is no way to change it. Since the left/right keys were used by Windows, CMUD uses the up/down keys for the command line history and there is no way to override it.

Most people use the number pad on their keyboard for movement. In fact, CMUD comes with the number pad predefined for movement. Just make sure the NumLock key is on.
Reply with quote
Kalie
Beginner


Joined: 23 Jun 2008
Posts: 22

PostPosted: Fri Jun 27, 2008 6:54 pm   
 
That's great for people who aren't on a laptop! My problem is, with a laptop, I don't have the luxury of a number pad (and using the keyboard as a number pad has it's own problems - like trying to type things!). However, this brings up an interesting point. It is possible to remap keys in windows so it might be possible for me to remap the up/down arrow keys to something else and then they might be available to do other things.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4693
Location: Pensacola, FL, USA

PostPosted: Fri Jun 27, 2008 7:58 pm   
 
You could always get and use one of those USB keypads, they are fairly cheap i believe.
_________________
Discord: Shalimarwildcat
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri Jun 27, 2008 8:29 pm   
 
I'm sure there is probably some keyboard remapping software somewhere out there...you'll need to Google for it...I've never used anything like that myself. Of course, the problem will be that then you won't be able to edit your command line with the arrow keys, since I'm assuming you'll want to map directions to *all* of the arrows and not just up/down.

It might be easier to just create some macros in CMUD for various Ctrl keys. For example, a lot of games use the WASD keys for movement, and it would be easy to map Ctrl-W to north, Ctrl-A to west, Ctrl-S to south, Ctrl-D to east, etc.

Or, you can map the Ctrl-arrow keys too. Something like:

#KEY CTRL-UP {north}

for example.

The hardest part will be trying to remap the left/right keys since those are handled by Windows at a pretty low level to allow cursor movement within edit boxes.
Reply with quote
Kalie
Beginner


Joined: 23 Jun 2008
Posts: 22

PostPosted: Sat Jun 28, 2008 5:55 am   
 
I was using crtl-up, ect. but I found it was inconvenient to have to use both hands to move around (especially when eating) so I remapped my arrow keys with Key Tweak to some nonsense keys I don't even have (some sort of www keys on fancy keyboards). So now I can use then for macros and thus for directions but as pointed out above, I can't use them as normal arrow keys easily. As I only use XP for mudding, it's not really a problem but it's not exactly a clean solution either. However, other people in my position (laptop users) may want to know how to work around the problem. Key Tweak is free and easy to use. http://webpages.charter.net/krumsick/

Just remember to map the arrow keys to something you don't use and something your system doesn't use (escape isn't a good choice for instance). Also, if you're feeling clever, you can remap your arrow keys to page up, page down, home and end so you can use them under normal circumstances by pressing the ctrl key (or alt - I can never remember).
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sat Jun 28, 2008 12:18 pm   
 
You should have a ctrl key on the right side of your keyboard that you can press with your right thumb while pressing the arrow keys with the rest of your right hand.

One thing you can try if you don't have a lot of keyboard space (ie, laptop users) is to create a bunch of buttons in a square that has all the directions you need, and then you can click them to send them. You could even write a script to grey out the ones you can't use.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sun Jun 29, 2008 6:29 am   
 
I do this all the time. I made a generic compass package (modeled off of Zugg old zMUD pictures) that I will upload to the library.

Upload done. It's called Compass. Just remember to set the location of Toolbar 2.
_________________
Asati di tempari!
Reply with quote
Kalie
Beginner


Joined: 23 Jun 2008
Posts: 22

PostPosted: Mon Jun 30, 2008 8:32 pm   
 
Problem solved. Very Happy Thanks for all the help guys.

I don't have a control key on the right side since I'm running windows on a MacBook (weird keyboard problems to begin with...) but I remapped the number pad enter key to the right control key, which is generally where the right control key should be - if it were a PC keyboard. Fortunately, num-lock does not need to be active for that key to work (otherwise I'd have a ton of problems) so now I can use the arrow keys with one hand.

On another note, I can't seem to find the library to download Compass. I'm sure it's on the zuggsoft site somewhere but I'm coming up blank. Could someone point me in the right direction? Thanks.
Reply with quote
wheelman
Novice


Joined: 30 Jan 2006
Posts: 41

PostPosted: Mon Jun 30, 2008 11:41 pm   
 
Click the Library button on CMud's main toolbar, click Get Latest from Library at the top and wait. Find the package you want. In this case you want the Compass package.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net