I'm trying to do what the title says. So something that can be conceptually described as:
Code: Select all
+MButton::
Send, ^MButton
return
^MButton::
Send, +MButton
return
Code: Select all
MButton & LShift::
SendEvent, {Blind}{LShift Up}{LCtrl Down}{MButton Down}
return
MButton & LShift Up::
Send, {Blind}{LCtrl Up}{LShift Up}{MButton Up}
return
MButton & LCtrl::
SendEvent, {Blind}{LCtrl Up}{LShift Down}{MButton Down}
return
MButton & LCtrl Up::
Send, {Blind}{LShift Up}{LCtrl Up}{MButton Up}
return
~MButton::
Send, {MButton Down}
return
*MButton Up::
Send, {Blind}{MButton Up}{LShift Up}{LCtrl Up}
return
~*LShift Up::
SendEvent, {Blind}{MButton Up}{LShift Up}{LCtrl Up}
return
~*LCtrl Up::
SendEvent, {Blind}{MButton Up}{LShift Up}{LCtrl Up}
return
And by "stuttering" I mean: when I press Shift+MMB and drag the mouse it zooms for ~0.5 s and then starts panning (analogically for Ctrl+MMB). It's annoying. And I don't know how to fix it despite knowing that this code is clunky. Can anyone help me improve this code?