Saturday, March 1, 2014

Temporary Solution for Extra buttons on Mouse

Program Needed : AutoHotKey : Location : http://www.autohotkey.com/
First ensure to install the said program to your system.
After Its Installed
Double click on AutoHotKey tray icon/right click -> Open
once the Window is active go to View -> "Key history and Script info" or press "Ctrl+K"

now you need to know the keys of your mouse (Mapping)
Create a file to store log of the buttons getting pressed and their outcome
Example: china-oem-made-gaming-mouse-button-map

your Gaming mouse and its Mapping is ready now.
assuming your mouse has following structure
---Input---       ----Output----
ExtraButton1    Browser_Home ( Opens default browser when you press this button)
ExtraButton2    Launch_Mail  (Opens default Mail client when you press this button)
------------------------------------------------------------------------------------------------
Create your own script to remap the said buttons as per your wish.
my Example:
1. create a AHK file : 
Goto My Documents create folder named "MyScripts" go in there and
            rightClick-> New-> AutoHotkey Script
            Name it as "KeyRemap"
2.Right Click on File -> Edit
            leave first three lines as is mentioned in the file start with 5th Line
            write as below: or the you require

Browser_Home::Send {Launch_Media} ; i have assigned to open Default Music Player
Launch_Mail::Send {Media_Play_Pause} ; i have assigned to Control Play/Pause
3.Save File
-----------------------------------------------------------------------------------------------
'now assign hot key
Open AutoHotKey
goto File menu and click edit Script or press 'Ctrl+E'
Note: this will modify your master file which runs on windows load.

Leave everything as it is and insert below line in middle of 19 or 22 line.
<Type below>
^!MButton:: Run C:\Users\<yourUserName>\Documents\MyScripts\KeyRemap.ahk

Save the file
Close it
----------------------------------------------------------------------------------------------
Activate AutoHotKey window/ open again if you closed
got to File Menu-> Reload Scripts  or press 'Ctrl+R'

with this you have assigned MiddleMouse button as HotKey to Swap the buttons as and when require
to activate you need to press 'Ctrl+Alt+Middle mouse button'
To DeActivate Simply RightClick on "KeyRemap.afk" at Tray and Click Exit
================================================================
You can be more creative than me... Try and Explore
Link to my Script: Key Swap
my Script works only when specific Window is Active

China OEM Made Gaming Mouse Button Map

*Any China OEM Made Gaming Mouse

GM-703 Button mapping - Hardcoded



Lclk, Mclk, Rclk, Whlup, Whldn = normal Mouse buttons does not require much attentions as the same can be reprogrammed any time anywhere
Btn 4 = G4
Btn 5 = G5
Btn 6 = G6
Btn 7 = G7
Btn 8 = G8
Btn 9 = G9
P1 = Profile 1
P2 = Profile 2
P3 = Profile 3

G9 DPI changer - need help to decode dpi being changing
G8 Profile swapper

G8-P1 - Red  (the windows/OS recognises the Mouse as 5button mouse)
G4 - Xbutton1 - can be programmed with Any third party software (like Auto Key, key remapper,etc) See Solution at bottom of the Page
G5 - Xbutton2  - can be programmed with Any third party software (like Autokey, key remapper,etc) See Solution at bottom of the Page
G6 - LaunchMail - the key is mapped as virtual keyboard
G7 - LaunchBrowser - the key is mapped as virtual keyboard

G8-P2 - Green (the window recognise the Mouse as 3button mouse &amp; 3 buttons as Virtual Keyboard +1 (G5) is recognised as left mouse + 2Hardcoded)
G4 - Virtual Keyboard key mapped to Key "R"
G5 - mapped to mouse Lclick*2  -
G6 - ValumeDn - the key is mapped as virtual keyboard
G7 - ValumeUp - the key is mapped as virtual keyboard

G8-P3 - Yellow (the window recognise the Mouse as 3button mouse &amp; 3 buttons as Virtual Keyboard +1 (G5) is recognised as left mouse + 2Hardcoded)
L1 clicks twice
G4 - Virtual Keyboard key mapped to Key "R"
G5 - mapped to mouse Lclick  -
G6 - ValumeDn - the key is mapped as virtual keyboard
G7 - ValumeUp - the key is mapped as virtual keyboard

Temporary Solution
Permanent Solution*WIP

Tags: #Software for Mouse, #Software for Gaming Mouse, #Gaming Mouse gm-703, #GM-703, #Reliance Mouse, #RAUMB1004, #China Mouse,#Gaming Mouse, # 9 button Mouse