Fix for mac users with touchpad right click problems

If anyone here has a mac laptop with a recent version of bootcamp, you may notice you can no longer right click and drag. If you right click, you can't move the mouse. If you manage to move the mouse, you've lost your right click. This is a big problem with action rpg style games that use the right mouse button (2 finger on touchpad).

The following is an Autohotkey script that will fix the issue. The only bug is single right click actions (and not all of them) for example with the script running you can cast a town portal but you can't use identify scrolls properly. To remedy this, I've added a suspend feature to the script that will deactivate and reactivate by pressing the F12 key.

The script follows the general 1 input 1 output rule so it's not a hack/cheat/macro. It's a much desired fix for a fairly common issue.

Spoiler

rclick := false
arb1 := true
arb2 := true

~$RButton::
rclick := true
arb1 := false
return

$RButton up::
arb1 := true
if (arb1 & arb2){
rclick = false
send {RButton up}
}
return

$LButton::
arb2 := false
if (rclick = true){
send {RButton down}
}
else{
send {LButton down}
}
return

$LButton up::
arb2 := true
if (rclick = true){
send {RButton up}
}
else{
send {LButton up}
}
rclick = false
return

f12::suspend

Report Forum Post

Report Account:

Report Type

Additional Info