i modified opencv/samples/cpp/lkdemo.cpp to be used as mousepointer by passing coordinates of point to setcursorpos.,but when this program is running i cant use hardware mouse it stays in same position as lenter code here
k point.,because setcursorposo resolve() runs in infinity loop.,how to resolve?