Page 1 of 1

Binding Compass Actions to MOUSE keys?

PostPosted: 10 Sep 2011, 22:08
by ZeroKnight
I noticed that you cannot bind MOUSE keys to a compass action. For example:

{l Code}: {l Select All Code}
compass "foo" "MOUSE7" [echo bar]


Suppose that's part of a compass. Instead of seeing the action able to be evoked by pressing MOUSE7, you will instead only be able to evoke the action by pressing "Y". Try it and you'll see what I mean. Oddly enough, MOUSE6 gives "Z". I tried using "-7" (MOUSE7's value in keymap), but that didn't work.
A bit puzzled. Any ideas?

Re: Binding Compass Actions to MOUSE keys?

PostPosted: 11 Sep 2011, 03:39
by qreeves
Haha, that's because of the way I wrote the compass setup. It's only looking for characters as they'd be input when typing them into the console (minus the case sensitivity). I will have to look at rewriting the input method to support the keymap. Sorry if this has been confusing you :p

Re: Binding Compass Actions to MOUSE keys?

PostPosted: 11 Sep 2011, 05:20
by ZeroKnight
That's basically what my guess was, but I wouldn't have known where to start to modify it myself. As always, thanks much for your help, quin ^_^