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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
GenericGun
Beginner


Joined: 23 Jul 2009
Posts: 12

PostPosted: Thu Mar 04, 2010 1:24 am   

[3.14a] Alt+ Macro Bug
 
This bug is quite difficult to recreate, however I'll give it a shot.

I have added a number of macros: ALT+S, ALT+C, etc.
The way they are supposed to work (I believe) is with the left Alt key pressed.
However when typing in a rapid succession and using the right Alt key (some of the special characters in my native language require it)
sometimes one of the Macros fires.

And that's that.. don't know if I can help narrow it down.. But thanks for your help anyway.

G.

PS Any luck on the substitution + wrapping bug? Wink
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Thu Mar 04, 2010 2:43 pm   
 
Does it only happen when you type a special character (requiring ALT) just before an s or c or other key which has a macro attached to the ALT+character? That is, does the ALT+S macro only accidentally execute if you type an S immediately after some other ALT+character? If that is the case, are you absolutely certain that you are fully releasing the ALT key before typing the S?

I only type in English, so I don't have any experience with rapid typing with ALT characters. But I know I sometimes have problems even with the SHIFT key being held just a moment too long before the next character.
Reply with quote
GenericGun
Beginner


Joined: 23 Jul 2009
Posts: 12

PostPosted: Thu Mar 04, 2010 3:41 pm   
 
The difference between the ALT and Shift key is that CMUD should discern between Right (the macro Alt) and Left Alt (language Alt), however sometimes it does not.

G.
Reply with quote
Zugg
MASTER


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

PostPosted: Thu Mar 04, 2010 4:40 pm   
 
CMUD doesn't handle macros at the low level where the Right and Left Alt keys are different. CMUD just fires based upon the keyboard messages sent to it by Windows. If CMUD receives a key-down message for the Alt-key combination of your macro, then CMUD runs the macro. You cannot set up different macros in CMUD for the left vs right Alt keys.

It sounds like Windows is sending the wrong message to CMUD sometimes. I'm not sure there is anything I can do to help with this within CMUD. All CMUD can do is respond to what Windows sends it. I'm not going to get into the low-level keyboard driver because that will just cause more complexity and problems.
Reply with quote
GenericGun
Beginner


Joined: 23 Jul 2009
Posts: 12

PostPosted: Thu Mar 04, 2010 8:19 pm   
 
Right, that makes sense. Just a quick question though: is it possible to add an option for Left/Right Alt Macros? (LALT, RALT?)
That would both solve the problem and give a more customizable macro pool.

Thanks, G.
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Fri Mar 05, 2010 8:11 pm   
 
Zugg wrote:
CMUD doesn't handle macros at the low level where the Right and Left Alt keys are different.

CMUD can't tell the difference so no.
_________________
Taz :)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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