I have just made a script for scrolling without loosing the middle button clickability. I did it using AutoHotKey. If you want to try it set the middle button from scrolling to "Neither" in the control panel->Mouse->UltraNav->TrackPoint Setting, and just download AutoHotKey, and put this (embarrassing code
Code: Select all
~MButton::
XSum:=0
YSum:=0
XThreshOld:=1
YThreshOld:=1
MouseGetPos, OldX, OldY, WinID
MouseGetPos, X, Y, WinID
MButtonState= D
Loop
{
;MsgBox, Move the mouse.
MouseGetPos, X, Y, WinID
XSum:= XSum + X - OldX
YSum:= YSum + Y - OldY
;MsgBox, Iteration number is %A_Index% and MButton state is %MButtonState%. XSum= %XSum% YSum= %
YSum% X= %X% Y=%Y% OldX=%OldX% OldY=%OldY%
if (XSum > XThreshOld)
{
Send, {Right}
XSum:= 0
}
else if (XSum < -XThreshOld)
{
Send, {Left}
XSum:= 0
}
if ( -YSum > YThreshOld )
{
NTimes:=1
if (-YSum > 5)
NTimes := (-YSum - 5)/2
Loop, %NTimes%
Send, {WheelUp}
YSum:= 0
}
else if ( -YSum < -YThreshOld )
{
NTimes:=1
if (YSum > 5)
NTimes := (YSum -5)/2
Loop, %NTimes%
Send, {WheelDown}
YSum:= 0
}
MouseMove, %OldX%, %OldY%
GetKeyState, MButtonState, MButton, P
if (MButtonState = "U")
break
;sleep, 10
}
return
Maybe the following two lines are important, I have them at the top of the file.
Code: Select all
#InstallKeybdHook
#InstallMouseHook



