I'm trying to get and set the cursor position before the system(Windows) update the cursor position or somehow set a limit to where the cursor can move.
Tried GetCursorPos()
, It execute too late.
Tried WH_MOUSE_LL
hook, It slowed down the cursor movement (basically introduced massive lags), and I couldn't change the mouse position..