POC: RawInput mouse via C# CLR

Discuss other programming languages besides AutoHotkey
Galvatron
Posts: 16
Joined: 11 Jun 2017, 09:52

Re: POC: RawInput mouse via C# CLR

20 Jul 2017, 12:22

Okay, made it to work. These values seem to be fine and more precise than with mousedelta:

MoveEvent(x, y, mouseId){
x := round(x / 2)
y := round(y / 2)
Global mdw
if (mdw.SelectedMouse == 0 || mdw.SelectedMouse == mouseId){
DllCall("mouse_event",uint,1,int, x ,int, y,uint,0,int,0)
}
}


But using "x / 3" or lower doesn't seem to work properly.

Return to “Other Programming Languages”

Who is online

Users browsing this forum: No registered users and 2 guests