Any way to change mouse's buttons from Control, Alt, and Shift?

Fallonite

Reputable
Jul 16, 2014
96
0
4,660
I got this gaming mouse from Amazon, and the three buttons on the side are just secondary Left Control, Left Alt, And Left Shift keys, which are obviously better used on the Keyboard. Is there any way to map them as Mouse 4, Mouse 5, and Mouse 6 so that they can do other functions in games?
 

Ok, how do I use Xmouse to set the buttons to Mouse 4, Mouse 5, and Mouse 6 so I can use them for extra mouse buttons in games rather than remapping Alt, Shift, and Control to my mouse?
 



Hi

Did you find a solution to remapping the mouse buttons. I looked at X-Mouse but couldn't see anything to address mapping buttons 4/5/6/7/8/9.
 


Hi,

No I couldn't, I'm afraid. I couldn't find anything in XMouse that let me do it.

Are there any other programs or tools I can use?

Thanks in advance!
 



Hi

I was hoping you might have an answer. I can't find anything. In addition I think two of the buttons can't be used for anything useful at all; they only adjust the DPI resolution of the movement; so I think its a bit off them referring to it as a 9 button mouse.

If I find anything I'll let you know.

Nick.
 
I got this gaming mouse from Amazon, and the three buttons on the side 9 in total. I have tried Xmouse and other programs but non have worked the eastern times tech website is not helpful but says that they are easily programmable anyone else have any luck?


Thanks
 
What you need is AutoHotKey. It's a program that lets you write scripts which allow you to remap any button on your keyboard or mouse. Takes a bit of learning but it's almost infinitely flexible.
 
The mouse does not let you program the buttons. The buttons are fixed.

AutoHotKey is not suitable for most people, as it changes the keyboard button that is not what people want to do. Most people want to keep the keyboard as is as they use the specific key for something else.

Also one of the buttons can only be used to change the DPI sensitivity, so its absolutely useless for using in a game etc.

Personally I think the mouse is a pile of cr@p and I just confined it to the rubbish hardware pile.
 
I'm new to the AutoHotKey but I don't think it will work because the mouse buttons are already set to Alt Shift Ctrl. So when I try to change them they mess up my keyboard.


Thanks for responding
 
What if you rebind your mouse buttons to ctrl shift alt keys located to the right of your keyboard (Rctrl, Rshift, Ralt) and then rebind those to whatever you want. You'd still change those keys on your keyboard as well but maybe you don't need them as much.
 
Here's a list of the button IDs:
https://autohotkey.com/docs/KeyList.htm

In that list you'll find:
LWin Left Windows logo key. Corresponds to the <# hotkey prefix.

RWin Right Windows logo key. Corresponds to the ># hotkey prefix.

Note: Unlike Control/Alt/Shift, there is no generic/neutral "Win" key because the OS does not support it. However, hotkeys with the # modifier can be triggered by either Win key.

Control (or Ctrl) Control key. As a hotkey (Control::) it fires upon release unless it has the tilde prefix. Corresponds to the ^ hotkey prefix.

Alt Alt key. As a hotkey (Alt::) it fires upon release unless it has the tilde prefix. Corresponds to the ! hotkey prefix.

Shift Shift key. As a hotkey (Shift::) it fires upon release unless it has the tilde prefix. Corresponds to the + hotkey prefix.

LControl (or LCtrl) Left Control key. Corresponds to the <^ hotkey prefix.

RControl (or RCtrl) Right Control key. Corresponds to the >^ hotkey prefix.

LShift Left Shift key. Corresponds to the <+ hotkey prefix.

RShift Right Shift key. Corresponds to the >+ hotkey prefix.

LAlt Left Alt key. Corresponds to the <! hotkey prefix.

RAlt Right Alt key. Corresponds to the >! hotkey prefix.

Note: If your keyboard layout has AltGr instead of RAlt, you can probably use it as a hotkey prefix via <^>! as described here. In addition, LControl & RAlt:: would make AltGr itself into a hotkey.
 
So try this:

LCtrl::RCtrl
LShift::RShift
LAlt::RAlt

(you may have to run the following lines as a separate script)

RCtrl:: (a key or a hotkey you want to bind to extra mouse button 1)
RShift:: (a key or a hotkey you want to bind to extra mouse button 2)
RAlt:: (a key or a hotkey you want to bind to extra mouse button 3)
 
The issue that I see with that is that you are still remapping a keyboard key to something else when you want to use the original keyboard key for its original purpose.

For example.
The mouse button 8 sends left CTRL.

In many 1st person shooters, that key is used to Crouch.

However I want to use button 8 to change weapon.

If I change my weapon to activate on that button; then I have lost the keyboard ability to crouch on Left CTRL.


Unless you can say that device X specifically is remapped; then it would work; but otherwise it doesn't meet the requirement.


Nick.
 


There might be a way of sacrificing some other keyboard buttons that aren't frequently used.
 
If the mouse could change the signal to a different key or the device specific source could be remapped that would be true, but when it is fixed like it is on this mouse, that doesn't solve the issue.
 
So I managed to use a combination of AHK and another program called HidMacros which can call the scripts from the specific device (M288 mouse).

- Just create a script that does the desired effect when it is opened.
- Load HidMacros and scan the button you want to assign the script to.
- Select the script as a program to run.

DONE! :)
 

Latest posts