Binding Compass Actions to MOUSE keys?

Binding Compass Actions to MOUSE keys?

Postby ZeroKnight » 10 Sep 2011, 22:08

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?
[ Github ][ WazuClan -- irc.wazuclan.com #wazuclan ][ Zero's Archive of RE Extensions, Scripts, WeapMods & More! ]
User avatar
ZeroKnight
 
Posts: 524
Joined: 08 Jun 2011, 01:24
Location: Ohio, United States

Re: Binding Compass Actions to MOUSE keys?

Postby qreeves » 11 Sep 2011, 03:39

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
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Re: Binding Compass Actions to MOUSE keys?

Postby ZeroKnight » 11 Sep 2011, 05:20

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 ^_^
[ Github ][ WazuClan -- irc.wazuclan.com #wazuclan ][ Zero's Archive of RE Extensions, Scripts, WeapMods & More! ]
User avatar
ZeroKnight
 
Posts: 524
Joined: 08 Jun 2011, 01:24
Location: Ohio, United States

Who is online

Users browsing this forum: No registered users and 1 guest