Forums » General

Mapping mouse buttons

Nov 04, 2004 Aramanu link
Im not to sure where to post this as i don't know if its a bug or not, but i'm unable to map 2 of my mouse buttons, LMB/RMB/MMB and wheelup/down map ok, but i have 2 extra buttons;
Mouse4 and mouse5, these are the names givin to them in other games i've managed to map them to. i was just wondering wether these buttons are unsupported or its a bug?
Nov 04, 2004 silentsuicide link
try all caps ie MOUSE4, cause i know with my joystick you need all caps
Nov 04, 2004 Aramanu link
So how do i do that?
It won't let me type "MOUSE4" in the controls section, also if i hold down shift and click mouse4, nothing maps, same with capslock.
Nov 04, 2004 a1k0n link
It's unsupported, but probably not difficult for us to support, and I am certain we will add support.

Technical explanation:

I know how to fix this for Linux and MacOSX (they send button numbers to us) but I'm not really sure what mouse event we'd get under Windows (Windows' GUI code assumes there are three buttons and a mouse wheel, pretty much - there's WM_LBUTTONDOWN, WM_MBUTTONDOWN, WM_RBUTTONDOWN and WM_MOUSEWHEEL). So there's probably some WM_ event I'm unaware of that it sends that we are not presently using.

If anyone knows, we can probably add this in the next patch or so.
Nov 04, 2004 Resaurtus link
Nov 04, 2004 a1k0n link
Ah-ha. Perfect. Thanks!
Nov 04, 2004 reptyle link
I would definately like to see this with the linux client... wouldn't have to use the keyboard anymore with my mx510
Nov 05, 2004 ratonu link
for what it's worth, i would also like these buttons active, and i think there are more of us. they can be supported at the application level, so if you could make them active in vendetta it would be GREAT.
Nov 05, 2004 fleabait link
While we are discussing the mouse buttons, how about differentiating the numpad keys from the top row, and left/right Alt and Ctrl and adding support for mapping various *super* keys, like the windows key or mac equivelent (I guess that probably won't work in windows, but it would be nice for linux).
Nov 05, 2004 IronDuck link
I vote for mouse button 4 and 5 support also ;)