Is there any way to make mouse cursor follow the point where I look at constantly?
I don’t need any smart “warp” functions. I just want a cursor to always point the same spot I’m looking at. I know it is going to jump and jitter. I don’t care. I just need it in whatever state it is.
Is there a hidden option somewhere I could not find< or is there any scripts for third party software like FreePIE to make this happen.
The only thing I found is using deltaX\Y but that is not what I am looking for.
k = 0.1
currentX = 0
currentY = 0
x = tobiiEyeX.gazePointInPixelsX
y = tobiiEyeX.gazePointInPixelsY
currentX = currentX + (x-currentX)*k
currentY = currentY + (y-currentY)*k
you will also need to add a new method to freepie mouse plugin:
public class MousePlugin : Plugin
static extern bool SetCursorPos(int X, int Y);
public void SetCursorPosition(int x, int y)
public class MouseGlobal
public void setCursorPosition(int x, int y)