My Roccat Kone XTD mouse began occasionally clicking twice when I used the right mouse button.
I couldn't find a fix short of opening up the mouse which I didn't really want to do, so I looked into AutoHotkey and thought I'd put this here for anyone else who has this problem.
AutoHotkey is a free macro / keystroke manager. You can find it here: http://www.autohotkey.com/
This is the script I created:
[strike];RIGHT MOUSE FIX
RButton::
Click down right
Click up right
Sleep, 50
This overrides the normal mouse behaviour and makes it so that upon clicking the right mouse button (the 'RButton::' line) AutoHotkey tells Windows to click and release the RMB and wait for 50 milliseconds ('Sleep, 50'), preventing double clicks. This does mean, however, that you can't right-click and drag unless you hold another key like Shift or Ctrl down.[/strike]
New script (so far it's working great, I need to test further though):
;RIGHT MOUSE FIX
RButton::
Click down right
KeyWait, RButton
Click up right
All this is doing is replicating the standard windows behaviour, therefore it shouldn't interfere with anything. I'm assuming that AutoHotkey's default mouse detection delay (of 20ms) allows the microswitch time to depress, therefore stopping a double right-click. Or I could be completely wrong.
If anyone has any better ideas, let me know as I'm new to AutoHotkey, otherwise, this works for me.
Steps:
1) Download and install AutoHotkey from http://www.autohotkey.com/
2) Create a new file anywhere on your computer called Rightclickfix.ahk (the name doesn't matter, as long as the extension is .ahk)
3) Paste the above script into it and save it
4) Run Rightclickfix.ahk.
I couldn't find a fix short of opening up the mouse which I didn't really want to do, so I looked into AutoHotkey and thought I'd put this here for anyone else who has this problem.
AutoHotkey is a free macro / keystroke manager. You can find it here: http://www.autohotkey.com/
This is the script I created:
[strike];RIGHT MOUSE FIX
RButton::
Click down right
Click up right
Sleep, 50
This overrides the normal mouse behaviour and makes it so that upon clicking the right mouse button (the 'RButton::' line) AutoHotkey tells Windows to click and release the RMB and wait for 50 milliseconds ('Sleep, 50'), preventing double clicks. This does mean, however, that you can't right-click and drag unless you hold another key like Shift or Ctrl down.[/strike]
New script (so far it's working great, I need to test further though):
;RIGHT MOUSE FIX
RButton::
Click down right
KeyWait, RButton
Click up right
All this is doing is replicating the standard windows behaviour, therefore it shouldn't interfere with anything. I'm assuming that AutoHotkey's default mouse detection delay (of 20ms) allows the microswitch time to depress, therefore stopping a double right-click. Or I could be completely wrong.
If anyone has any better ideas, let me know as I'm new to AutoHotkey, otherwise, this works for me.
Steps:
1) Download and install AutoHotkey from http://www.autohotkey.com/
2) Create a new file anywhere on your computer called Rightclickfix.ahk (the name doesn't matter, as long as the extension is .ahk)
3) Paste the above script into it and save it
4) Run Rightclickfix.ahk.