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
elektrisk
Novice


Joined: 06 May 2008
Posts: 38

PostPosted: Sat Nov 08, 2008 12:43 pm   

How could I set my enter key to another key?
 
My enter key has fallen off of my laptop, and it really sucks. I can't get it back on because some metal prong has broken, but that's not the point of this topic. I was wondering if I could set cMUD so that left-shift or page down acts as the enter key when mudding, so that I can use one of the aforementioned keys to enter commands.

If there's a simple way to do this, please tell me.
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Sat Nov 08, 2008 2:32 pm   
 
Unfortunately there's no simple way to do this because the enter key behaviour is standard and presumably hard-coded. You could probably make a macro for it with "Allow any key to be a macro", but there's simply no way to emulate the enter key's behaviour in all the various dialogues and other places where enter is used.

You might be able to find a third-party utility that will work with your keyboard driver, so that when you press some other key, the driver reports that enter had been pressed. But there's no way to do it within CMUD, no.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sat Nov 08, 2008 6:14 pm   
 
Most things in Windows will recognize CTRL-M as the enter key. I am pretty sure the majority of things in CMud will also treat CTRL-M as enter so long as you don't have a macro on CTRL-M.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Sat Nov 08, 2008 6:22 pm   
 
Isn't CTRL-M the mapper?

Charneus
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sat Nov 08, 2008 8:08 pm   
 
In the mapper it's also the shortcut for "Move this room within the current zone".
_________________
EDIT: I didn't like my old signature
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Nov 10, 2008 5:40 pm   
 
Unfortunately CMUD is looking at the actual Windows "virtual key code" returned by the key on your keyboard. CMUD doesn't have any way to remap another key at that low level. You might be able to find some other software that hooks into Windows and allows your keys to be remapped. But no way to do it just within CMUD, sorry.
Reply with quote
elektrisk
Novice


Joined: 06 May 2008
Posts: 38

PostPosted: Mon Nov 17, 2008 8:26 am   
 
I decided to just get a new keyboard.

Thanks anyway, guys.
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