SystemCursor(OnOff=1) INIT = "I","Init" OFF = 0,"Off" TOGGLE = -1,"T","Toggle" ON = others ![]() ![]() MouseGetPos, wheelingMouseX, wheelingMouseY MouseGetPos, wheelingNewMouseX, wheelingNewMouseYĭeltaX := wheelingNewMouseX - wheelingMouseXĬlicks := Round((wheelingNewMouseY - wheelingMouseY)/wheelingSensitivity) WheelingSensitivity := 10 sensitivity to mouse movement (higher is more sensitive) I was just messing around with something like that, so I'll post it here: I want the cursor to return to the original position (ideally not move at all).Īt the moment as I hold down RButton and move the mouse, the page scrolls but the cursor reaches the end of the screen - and not the end of the page.Īs you can see above I thought I could save the start X,Y and after the scrolling set mouse position to start X,Y. MouseMove, pos1, pos2 return cursor to original position? Sensitivity = 20 how far it takes before the scroll happens So I modified a script here that allows scrolling using the RButton and moving the mouse(trackball) up and down: Ideally rotating (clock/anti) the trackball should scroll a page, but my model doesn't have that feature. ![]() I've actually got a trackball, but I really miss the scroll wheel from a mouse!
0 Comments
Leave a Reply. |