Page 1 of 1

Controlling the cursor?

Posted: 04 Dec 2012, 15:59
by ageronimo
Hi,
I am trying to interface Dasher with BCI2000. Ideally I would use the Socket interface provided by both programs to relay X and Y cursor position from my mu-rhythm BCI paradigm to Dasher but there is a problem on the Dasher end with receiving the incoming UDP packets (which has been confirmed by the Dasher people).

Is there are way to control the cursor on windows XP with the CursorPosX/Y variables so I can get the input to Dasher that way? It seems to me this would require a knowledge of windows programming that is way above my pay grade, but I just thought I would ask.

Thanks in advance,
Andrew

Re: Controlling the cursor?

Posted: 12 Dec 2012, 14:14
by mellinger
Hi,

the Windows API provides a mouse_event() function that you may use in order to position the mouse cursor:
http://msdn.microsoft.com/en-us/library ... s.85).aspx

Regards,
Juergen